Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IllegalArgumentException (0.32 sec)

  1. src/main/java/jcifs/smb/SID.java

         * This is the last subauthority identifier
         * 
         * @return the RID
         */
        @Override
        public int getRid () {
            if ( getType() == SID_TYPE_DOMAIN )
                throw new IllegalArgumentException("This SID is a domain sid");
            return this.sub_authority[ this.sub_authority_count - 1 ];
        }
    
    
        @Override
        public int getType () {
            if ( this.origin_server != null )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            if( domain == null || username == null ||
                                        ansiHash == null || unicodeHash == null ) {
                throw new IllegalArgumentException( "External credentials cannot be null" );
            }
            this.domain = domain;
            this.username = username;
            this.password = null;
            this.challenge = challenge;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

                    return enc_uint64be( date.getTime(), dst, di );
                case TIME_1970_MILLIS_64LE:
                    return enc_uint64le( date.getTime(), dst, di );
                default:
                    throw new IllegalArgumentException( "Unsupported time encoding" );
            }
        }
    
        /* Decode times
         */
    
        public static Date dec_time( byte[] src, int si, int enc )
        {
            long t;
        
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * @see jcifs.internal.dfs.DfsReferralDataInternal#stripPathConsumed(int)
         */
        @Override
        public void stripPathConsumed ( int i ) {
            if ( i > this.pathConsumed ) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
        }
    
    
        @Override
        public void fixupDomain ( String dom ) {
            String s = getServer();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

                        INQUIRE_TYPE_SESSION_KEY
                    });
                    return k.getEncoded();
                }
                catch (
                    IllegalAccessException |
                    IllegalArgumentException |
                    InvocationTargetException ex ) {
                    throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex);
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

         * 
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to parse OID", e);
            }
        }
    
        private NtlmPasswordAuthenticator auth;
        private int ntlmsspFlags;
        private String workstation;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Encdec.java

                return enc_uint64be(date.getTime(), dst, di);
            case TIME_1970_MILLIS_64LE:
                return enc_uint64le(date.getTime(), dst, di);
            default:
                throw new IllegalArgumentException("Unsupported time encoding");
            }
        }
    
    
        /*
         * Decode times
         */
    
        public static Date dec_time ( byte[] src, int si, int enc ) {
            long t;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.options = WRITE_OPTIONS;
                    this.access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
                }
                else {
                    throw new IllegalArgumentException("Invalid mode");
                }
    
                try ( SmbFileHandle h = ensureOpen() ) {}
                this.readSize = th.getReceiveBufferSize() - 70;
                this.writeSize = th.getSendBufferSize() - 70;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                        null,
                        getType() != SID_TYPE_DOMAIN);
        }
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN)
                throw new IllegalArgumentException("This SID is a domain sid");
            return sub_authority[sub_authority_count - 1];
        }
    
        /**
         * Returns the type of this SID indicating the state or type of account.
         * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public final void setResponse ( CommonServerMessageBlockResponse response ) {
            if ( ! ( response instanceof ServerMessageBlock ) ) {
                throw new IllegalArgumentException();
            }
            this.response = (ServerMessageBlock) response;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#isCancel()
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top