- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 381 for authZ (0.02 seconds)
-
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));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
DcerpcHandle handle = null; LsaPolicyHandle policyHandle = null; synchronized (sid_cache) { try { handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", auth); String server = authorityServerName;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
cmd/config-encrypted_test.go
package cmd import ( "bytes" "testing" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" ) func TestDecryptData(t *testing.T) { cred1 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio123", } cred2 := auth.Credentials{ AccessKey: "minio", SecretKey: "minio1234", } data := []byte(`config data`)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 1.9K bytes - Click Count (0) -
docs/sts/web-identity.py
import requests from botocore.client import Config from flask import Flask, request boto3.set_stream_logger('boto3.resources', logging.DEBUG) authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth" token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token" # callback url specified when the application was defined callback_uri = "http://localhost:8000/oauth2/callback" # keycloak id and secret
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Click Count (0) -
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));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
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 authCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
package jcifs.pac.kerberos; import java.security.Key; import java.util.ArrayList; import java.util.List; import java.util.Set; import javax.security.auth.Subject; import javax.security.auth.kerberos.KerberosKey; import javax.security.auth.login.LoginContext; import javax.security.auth.login.LoginException; /** * Kerberos credentials management class that handles authentication through JAAS. */ public class KerberosCredentials {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0) -
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; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0)