Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for requestNtlmPasswordAuthentication (0.15 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

                mockedNtlmAuthenticator.verify(() -> NtlmAuthenticator.requestNtlmPasswordAuthentication(any(), any(), any()), never());
                verify(mockRenewableCredentials, never()).renew(); // Ensure renewable path was not taken
            }
        }
    
        @Test
        @DisplayName("Should pass SmbAuthException to NtlmAuthenticator.requestNtlmPasswordAuthentication")
        void testRenewCredentials_WithSmbAuthException() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt
         */
        public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
            return requestNtlmPasswordAuthentication(auth, url, sae);
        }
    
        /**
         * Requests NTLM password authentication using the specified authenticator.
    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/main/java/jcifs/context/CIFSContextCredentialWrapper.java

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

         * @param sae the authentication exception that was thrown
         * @return credentials returned by prompt or null if none available
         */
    
        public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {
            if (auth == null) {
                return null;
            }
            synchronized (auth) {
                auth.url = url;
                auth.sae = sae;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    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