Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Authenticator (0.06 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        }
    
        /**
         * Test that closed authenticator prevents all sensitive operations
         */
        @Test
        @DisplayName("Test closed authenticator blocks all sensitive operations")
        public void testClosedAuthenticatorBlocking() throws Exception {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "BlockedPass123!");
    
            // Close the authenticator
            auth.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    /**
     * Base kerberos authenticator
     *
     * Uses a subject that contains kerberos credentials for use in GSSAPI context establishment.
     *
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            cloneInternal(cloned, this);
            return cloned;
        }
    
        /**
         * Clone internal fields from one authenticator to another.
         *
         * @param cloned the target authenticator to copy to
         * @param toClone the source authenticator to copy from
         */
        protected static void cloneInternal(NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     */
    
    package jcifs.smb1.http;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    import java.security.Permission;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    }
                }
            }
        }
    
        /**
         * Creates an NTLM password authenticator from the given SMB authentication.
         *
         * @param smbAuthentication the SMB authentication information
         * @return the NTLM password authenticator
         */
        protected NtlmPasswordAuthenticator getAuthenticator(final SmbAuthentication smbAuthentication) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (3)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         *
         * @param transport
         *            The SMB transport containing server encryption key
         * @param auth
         *            The NTLM password authenticator containing user credentials
         * @throws SmbException
         *             If there is an error setting up the signing digest
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     */
    
    package jcifs.http;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    import java.security.GeneralSecurityException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		return
    	}
    
    	// It is required that parent user be set.
    	if res.Success.User == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New("A valid user was not returned by the authenticator."))
    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    	if durationParam != "" && requestedDuration < expiry {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            char[] diffAtMiddle = "supersecretpXssword123456789".toCharArray();
            char[] diffAtEnd = "supersecretpassword12345678X".toCharArray();
    
            // Create authenticators
            NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top