Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Kerb5Context (0.07 sec)

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

    import jcifs.spnego.NegTokenInit;
    
    /**
     * This class used to provide Kerberos feature when setup GSSContext.
     *
     * @author Shun
     */
    class Kerb5Context implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class);
    
        private static final ASN1ObjectIdentifier KRB5_MECH_OID;
        private static final ASN1ObjectIdentifier KRB5_MS_MECH_OID;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertFalse(nonAnon.isAnonymous());
        }
    
        static Object[][] preferredMechData_nonAnonymous() {
            return new Object[][] { { Kerb5Context.SUPPORTED_MECHS[0], true }, { Kerb5Context.SUPPORTED_MECHS[1], true },
                    { new ASN1ObjectIdentifier("1.2.3.4.5"), false } };
        }
    
        @ParameterizedTest(name = "non-anon preferred mech {0} -> {1}")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/resources/log4j.properties

    #log4j.logger.jcifs.smb.DfsImpl: DEBUG
    #log4j.logger.jcifs.smb: DEBUG
    #log4j.logger.jcifs.smb.SmbFileOutputStream: TRACE
    #log4j.logger.jcifs.smb.SigningDigest: TRACE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 806 bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            lenient().when(gssManager.createContext(any(), any(), any(), anyInt())).thenReturn(gssContext);
    
            // Create Kerb5Context with mocked dependencies
            ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null);
        }
    
        @AfterEach
        void tearDown() {
            if (mockedStatic != null) {
                mockedStatic.close();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) {
                        foundKerberos |= mechs.contains(mech);
                    }
                    if ((!foundKerberos || this.forceFallback) && this.canFallback && tc.getConfig().isAllowNTLMFallback()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top