Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 361 for Auth (0.39 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/impl/AuthenticationImpl.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.impl;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    import org.codelibs.fess.crawler.client.http.Authentication;
    
    /**
     * Implementation of the {@link Authentication} interface.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K 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. 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)
  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/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)
  9. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        void matchesBehavior() {
            // Two distinct auth instances
            NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
            // same auth instance => matches
            assertTrue(s1.matches(a1));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. cmd/sts-datatypes.go

    type LDAPIdentityResult struct {
    	Credentials auth.Credentials `xml:",omitempty"`
    }
    
    // AssumeRoleWithCertificateResponse contains the result of
    // a successful AssumeRoleWithCertificate request.
    type AssumeRoleWithCertificateResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ AssumeRoleWithCertificateResponse" json:"-"`
    	Result  struct {
    		Credentials auth.Credentials `xml:"Credentials,omitempty"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
Back to top