- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 391 for authZ (0.03 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection). // For now, we test methods that don't require deep mocks. return new SmbFile(url, auth); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
final PasswordAuthentication auth = Authenticator.requestPasswordAuthentication(null, port, protocol, "", this.authMethod); if (auth == null) { return null; } user = auth.getUserName(); password = new String(auth.getPassword());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
*/ AuthType getAuthType(); /** * Authenticates using the provided context * * @param context the CIFS context * @param challenge the server challenge (may be null for some auth types) * @return authentication response data * @throws CIFSException if authentication fails */ byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 3.9K bytes - Click Count (1) -
src/main/java/jcifs/pac/kerberos/KerberosAuthData.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.pac.kerberos; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import jcifs.pac.PACDecodingException; /** * Abstract base class for Kerberos authorization data. * This class provides parsing capabilities for different types of Kerberos authorization data.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/sts/web-identity.go
configEndpoint string clientID string clientSec string clientScopes string port int ) // DiscoveryDoc - parses the output from openid-configuration // for example http://localhost:8080/auth/realms/minio/.well-known/openid-configuration type DiscoveryDoc struct { Issuer string `json:"issuer,omitempty"` AuthEndpoint string `json:"authorization_endpoint,omitempty"`Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
mockwebserver/README.md
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
.ci/init.gradle
} final String vaultToken = System.getenv('VAULT_TOKEN') ?: new Vault( new VaultConfig() .address(System.env.VAULT_ADDR) .engineVersion(1) .build() ) .withRetries(5, 1000) .auth() .loginByAppRole("approle", System.env.VAULT_ROLE_ID, System.env.VAULT_SECRET_ID) .getAuthClientToken() final Vault vault = new Vault( new VaultConfig() .address(System.env.VAULT_ADDR) .engineVersion(1)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Nov 13 10:14:04 GMT 2019 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
*/ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange String msg = "auth failed"; // Act SmbAuthException ex = new SmbAuthException(msg, mockCause); // Assert assertEquals(msg, ex.getMessage()); assertSame(mockCause, ex.getCause());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Create authentication context - try guest auth first for broader compatibility try { NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), WORKGROUP, USERNAME, PASSWORD); context = SingletonContext.getInstance().withCredentials(auth); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0)