- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 363 for authN (0.03 sec)
-
cmd/signature-v4-parser.go
authFields := strings.Split(strings.TrimSpace(v4Auth), ",") if len(authFields) != 3 { return auth.Credentials{}, false, ErrMissingFields } ch, s3Err = parseCredentialHeader(authFields[0], region, stype) if s3Err != ErrNone { return auth.Credentials{}, false, s3Err } } return checkKeyValid(r, ch.accessKey) } // parse credentialHeader string into its structured form.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:35 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
void anonymousGuestCredentials() throws Exception { setupNegotiateStubs(); NtlmPasswordAuthenticator auth = mock(NtlmPasswordAuthenticator.class); when(auth.isAnonymous()).thenReturn(true); when(auth.isGuest()).thenReturn(true); when(auth.getUsername()).thenReturn("guest"); when(auth.getUserDomain()).thenReturn("dom"); // Construct
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
return; } } else { final String auth = new String(Base64.decode(msg.substring(6)), "US-ASCII"); int index = auth.indexOf(':'); String user = index != -1 ? auth.substring(0, index) : auth; final String password = index != -1 ? auth.substring(index + 1) : ""; index = user.indexOf('\\'); if (index == -1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} synchronized SmbSession getSmbSession(final NtlmPasswordAuthentication auth) { SmbSession ssn; long now; ListIterator iter = sessions.listIterator(); while (iter.hasNext()) { ssn = (SmbSession) iter.next(); if (ssn.matches(auth)) { ssn.auth = auth; return ssn; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
macSigningKey = new byte[40]; auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0); System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey), 0, macSigningKey, 16, 24); break; case 3: case 4: case 5: macSigningKey = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
} type metricsV3Server struct { registry *prometheus.Registry opts promhttp.HandlerOpts auth func(http.Handler) http.Handler metricsData *metricsV3Collection } var ( globalMetricsV3CollectorPaths []collectorPath globalMetricsV3Once sync.Once ) func newMetricsV3Server(auth func(h http.Handler) http.Handler) *metricsV3Server { registry := prometheus.NewRegistry()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
import java.security.GeneralSecurityException; import java.util.HashMap; import java.util.Map; import javax.crypto.spec.SecretKeySpec; import javax.security.auth.kerberos.KerberosKey; import javax.security.auth.kerberos.KerberosPrincipal; import org.junit.jupiter.api.Test; /** * Tests for the PacMac class. */ class PacMacTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
transport = new SmbTransportImpl(context, address, 445, null, 0, false); } /** * Test that pre-auth integrity hash is properly synchronized */ @Test @DisplayName("Pre-auth integrity hash should be thread-safe") void testPreauthHashThreadSafety() throws Exception { // Setup SMB3.1.1 negotiationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K 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) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the default NTLM authenticator. * @return the default authentication credentials provider */ public static NtlmAuthenticator getDefault() { return auth; } /** * Gets the URL that is requesting authentication.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0)