Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setMechanisms (0.2 sec)

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

            setContextFlags(value ? ( getContextFlags() | flag ) : ( getContextFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        public ASN1ObjectIdentifier[] getMechanisms () {
            return this.mechanisms;
        }
    
    
        public void setMechanisms ( ASN1ObjectIdentifier[] mechanisms ) {
            this.mechanisms = mechanisms;
        }
    
    
        /**
         * {@inheritDoc}
         *
    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/spnego/NegTokenTarg.java

    
        public NegTokenTarg () {}
    
    
        public NegTokenTarg ( int result, ASN1ObjectIdentifier mechanism, byte[] mechanismToken, byte[] mechanismListMIC ) {
            setResult(result);
            setMechanism(mechanism);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
    
        public NegTokenTarg ( byte[] token ) throws IOException {
            parse(token);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

                if ( log.isDebugEnabled() ) {
                    log.debug("Have initial token " + tok);
                }
                if ( tok.getMechanisms() != null ) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for ( ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Have initial token " + tok);
                    }
                    if ( tok.getMechanisms() != null ) {
                        Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                        if ( !mechs.contains(NtlmContext.NTLMSSP_OID) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            byte[] inputToken = null;
            if ( spToken instanceof NegTokenInit ) {
                NegTokenInit tinit = (NegTokenInit) spToken;
                ASN1ObjectIdentifier[] rm = tinit.getMechanisms();
                this.remoteMechs = rm;
                ASN1ObjectIdentifier prefMech = rm[ 0 ];
                // only use token if the optimistic mechanism is supported
                if ( this.mechContext.isSupported(prefMech) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
Back to top