Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 353 for AUTH (0.07 sec)

  1. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
            networkExplorer.doGet(request, response);
    
            // NetworkExplorer uses addHeader for Basic auth
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.ntlm;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthSchemeProvider;
    import org.apache.http.impl.auth.NTLMScheme;
    import org.apache.http.protocol.HttpContext;
    
    /**
     * This class is AuthSchemeFactory implementation for NTLM.
     *
     * @author shinsuke
     *
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

            super();
        }
    
        /**
         * Adds an SMB authentication configuration to the holder.
         *
         * @param auth the SMB authentication configuration to add
         */
        public void add(final SmbAuthentication auth) {
            authMap.put(auth.getPathPrefix(), auth);
        }
    
        /**
            * Retrieves the SmbAuthentication associated with the given path.
            *
            * <p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
    
            filter.doFilter(request, response, filterChain);
    
            verify(filterChain).doFilter(any(NtlmHttpServletRequest.class), eq(response));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Authentication.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    
    /**
     * The Authentication interface provides methods to retrieve authentication details
     * required for HTTP client authentication.
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_security/test_tutorial007.py

        response = client.get("/users/me", auth=("alice", "swordfish"))
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    def test_security_http_basic_invalid_password(client: TestClient):
        response = client.get("/users/me", auth=("stanleyjobson", "wrongpassword"))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. 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) {
                    this.creds = newAuth;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * @param pipeType the type of the pipe
         * @param auth the authentication credentials to use
         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbNamedPipe(final String url, final int pipeType, final NtlmPasswordAuthentication auth)
                throws MalformedURLException, UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. internal/grid/grid.go

    	}
    }
    
    // ConnectWS returns a function that dials a websocket connection to the given address.
    // Route and auth are added to the connection.
    func ConnectWS(dial ContextDialer, auth AuthFn, tls *tls.Config) func(ctx context.Context, remote string) (net.Conn, error) {
    	return ConnectWSWithRoutePath(dial, auth, tls, RoutePath)
    }
    
    // ValidateTokenFn must validate the token and return an error if it is invalid.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            if (session.transport.server.security == SECURITY_SHARE && (session.auth.hashesExternal || session.auth.password.length() > 0)) {
    
                if (session.transport.server.encryptedPasswords) {
                    // encrypted
                    password = session.auth.getAnsiHash(session.transport.server.encryptionKey);
                    passwordLength = password.length;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top