- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 361 for Auth (0.02 sec)
-
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 authRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
cmd/signature-v2.go
// - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html // returns true if matches, false otherwise. if error is not nil then it is always false func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) { var cred auth.Credentials v2Auth := r.Header.Get(xhttp.Authorization) if v2Auth == "" { return cred, ErrAuthHeaderEmpty }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.2K bytes - Viewed (0)