Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LoginContext (0.04 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for KerberosCredentials.
     */
    class KerberosCredentialsTest {
    
        @Mock
        private LoginContext loginContext;
    
        @Mock
        private Subject subject;
    
        @Mock
        private KerberosKey key1;
    
        @Mock
        private KerberosKey key2;
    
        private static final String LOGIN_CONTEXT_NAME = "TestLoginContext";
        private static final int KEY_TYPE_1 = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/JAASAuthenticator.java

            }
    
            try {
                log.debug("Logging on");
                LoginContext lc;
    
                Subject ps = super.getSubject();
    
                if (this.configuration != null) {
                    lc = new LoginContext(this.serviceName, ps, this, this.configuration);
                } else if (ps != null) {
                    lc = new LoginContext(this.serviceName, ps, this);
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

         * @param loginContextName the name of the JAAS login context
         * @throws LoginException if authentication fails
         */
        public KerberosCredentials(String loginContextName) throws LoginException {
            LoginContext lc = new LoginContext(loginContextName);
            lc.login();
            this.subject = lc.getSubject();
        }
    
        /**
         * Retrieves all Kerberos keys from the authenticated subject.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top