- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for AUTH (0.02 sec)
-
cmd/auth-handler_test.go
"bytes" "context" "io" "net/http" "net/url" "os" "testing" "time" "github.com/minio/minio/internal/auth" "github.com/minio/pkg/v3/policy" ) type nullReader struct{} func (r *nullReader) Read(b []byte) (int, error) { return len(b), nil } // Test get request auth type. func TestGetRequestAuthType(t *testing.T) { type testCase struct { req *http.Request authT authType }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
cmd/auth-handler.go
return authTypeAnonymous } return authTypeUnknown } func validateAdminSignature(ctx context.Context, r *http.Request, region string) (auth.Credentials, bool, APIErrorCode) { var cred auth.Credentials var owner bool s3Err := ErrAccessDenied if _, ok := r.Header[xhttp.AmzContentSha256]; ok && getRequestAuthType(r) == authTypeSigned {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator(subj, "DOM", "user", "pass"); auth.setUser("alice"); auth.setRealm("EXAMPLE.COM"); auth.setService("cifs"); auth.setUserLifeTime(123); auth.setLifeTime(456); auth.setForceFallback(true); Kerb5Authenticator cloned = auth.clone(); assertNotSame(auth, cloned);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return value assertSame(auth, result); verify(auth, times(1)).getSubject(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
Map<String, Object> params = new HashMap<>(); SmbAuthentication auth = new SmbAuthentication(); auth.setUsername("testuser1"); auth.setPassword("test123"); auth.setDomain("WORKGROUP"); params.put("smb1Authentications", new SmbAuthentication[] { auth }); client.setInitParameterMap(params); client.init(); boolean connected = false;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
} } t = new SmbTree(this, share, service); trees.addElement(t); return t; } boolean matches(final NtlmPasswordAuthentication auth) { return this.auth == auth || this.auth.equals(auth); } synchronized SmbTransport transport() { if (transport == null) { transport = SmbTransport.getSmbTransport(address, port, localAddr, localPort, null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
Map<String, Object> params = new HashMap<String, Object>(); FtpAuthentication auth = new FtpAuthentication(); auth.setUsername(username); auth.setPassword(password); params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth }); ftpClient.setInitParameterMap(params); ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
session.removeAttribute(SAML_STATE); try { final Auth auth = new Auth(getSettings(), request, response); auth.processResponse(); if (!auth.isAuthenticated()) { if (logger.isDebugEnabled()) { logger.debug("Authentication failed.");
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Dec 14 01:18:25 UTC 2025 - 20.2K bytes - Viewed (3) -
src/main/java/jcifs/smb1/smb1/Dfs.java
/** * Gets the map of trusted domains for DFS resolution * @param auth the authentication credentials * @return a map of trusted domain names to domain controllers * @throws SmbAuthException if authentication fails */ public HashMap getTrustedDomains(final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED || auth.domain == "?") { return null; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java
Map<String, Object> params = new HashMap<>(); SmbAuthentication auth = new SmbAuthentication(); auth.setUsername("testuser1"); auth.setPassword("test123"); auth.setDomain("WORKGROUP"); params.put("smbAuthentications", new SmbAuthentication[] { auth }); client.setInitParameterMap(params); client.init(); boolean connected = false;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Sep 23 06:42:59 UTC 2025 - 31.9K bytes - Viewed (0)