Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NegTokenInit (0.09 sec)

  1. src/main/java/jcifs/spnego/NegTokenInit.java

        private int contextFlags;
    
    
        public NegTokenInit () {}
    
    
        public NegTokenInit ( ASN1ObjectIdentifier[] mechanisms, int contextFlags, byte[] mechanismToken, byte[] mechanismListMIC ) {
            setMechanisms(mechanisms);
            setContextFlags(contextFlags);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
    
        public NegTokenInit ( byte[] token ) throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

            SpnegoToken spToken = getToken(inputBuf, offset, len);
            byte[] inputToken = null;
            if ( spToken instanceof NegTokenInit ) {
                NegTokenInit tinit = (NegTokenInit) spToken;
                ASN1ObjectIdentifier[] rm = tinit.getMechanisms();
                this.remoteMechs = rm;
                ASN1ObjectIdentifier prefMech = rm[ 0 ];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

            }
            if ( this.gssContext.getAnonymityState() ) {
                contextFlags |= NegTokenInit.ANONYMITY;
            }
            if ( this.gssContext.getConfState() ) {
                contextFlags |= NegTokenInit.CONFIDENTIALITY;
            }
            if ( this.gssContext.getIntegState() ) {
                contextFlags |= NegTokenInit.INTEGRITY;
            }
            return contextFlags;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PACTest.java

            NegTokenInit negInit = new NegTokenInit(mechToken);
            byte[] krbToken = negInit.getMechanismToken();
    
    
            Path p = Files.createTempFile("fakeserver", ".keytab");
            try {
                Files.write(p, keyTab);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                return setupTargetName(tc, host, new NtlmContext(tc, this, doSigning));
            }
    
            try {
                if ( initialToken != null && initialToken.length > 0 ) {
                    NegTokenInit tok = new NegTokenInit(initialToken);
                    if ( log.isDebugEnabled() ) {
                        log.debug("Have initial token " + tok);
                    }
                    if ( tok.getMechanisms() != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

                throw new SmbUnsupportedOperationException("Cannot use netbios/short names with kerberos authentication, have " + host);
            }
            try {
                NegTokenInit tok = new NegTokenInit(initialToken);
                if ( log.isDebugEnabled() ) {
                    log.debug("Have initial token " + tok);
                }
                if ( tok.getMechanisms() != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
Back to top