Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NtlmAuthenticator (0.48 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

     */
    
    /**
     * An abstract class for NTLM authentication in SMB1 protocol.
     * Provides a callback mechanism for retrieving user credentials when authentication is required.
     */
    public abstract class NtlmAuthenticator {
    
        /**
         * Default constructor.
         */
        protected NtlmAuthenticator() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmAuthenticator.java

     * and NtlmAuthenticator</a> for complete details.
     */
    
    /**
     * An abstract class for NTLM authentication.
     * Provides a callback mechanism for retrieving user credentials when authentication is required.
     */
    public abstract class NtlmAuthenticator {
    
        /**
         * Default constructor.
         */
        protected NtlmAuthenticator() {
            // Protected constructor for abstract class
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should renew credentials via NtlmAuthenticator when not renewable and NtlmAuthenticator provides new credentials")
        void testRenewCredentials_NtlmAuthenticatorProvidesNew() {
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
                mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                    this.creds = renewed;
                    return true;
                }
            }
            final NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if (auth != null) {
                final NtlmPasswordAuthenticator newAuth =
                        NtlmAuthenticator.requestNtlmPasswordAuthentication(auth, locationHint, error instanceof SmbAuthException s ? s : null);
                if (newAuth != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        SmbAuthException(final int errcode) {
            super(errcode, null);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbAuthException.java

    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about
     * <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * {@code jcifs.smb.client.username}, and {@code jcifs.smb.client.password}
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     *
     * @deprecated use {@link NtlmPasswordAuthenticator} instead
     */
    @Deprecated
    public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator {
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     * {@code jcifs.smb1.smb1.client.username}, and {@code jcifs.smb1.smb1.client.password}
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     */
    
    public final class NtlmPasswordAuthentication implements Principal, Serializable {
    
        private static final int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                if (share == null) { // IPC$ - try "anonymous" credentials
                    ssn = trans.getSmbSession(NtlmPasswordAuthentication.NULL);
                    tree = ssn.getSmbTree(null, null);
                } else if ((a = NtlmAuthenticator.requestNtlmPasswordAuthentication(url.toString(), sae)) != null) {
                    auth = a;
                    ssn = trans.getSmbSession(auth);
                    tree = ssn.getSmbTree(share, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top