- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 275 for authenticate (0.06 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
} // Happy path: reauthenticate completes without exception @Test @DisplayName("reauthenticate performs call without exception") void reauthenticate_happy() throws CIFSException { session.reauthenticate(); verify(session).reauthenticate(); } // Error propagation: reauthenticate throws CIFSException @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py
assert response.status_code == 200 assert response.json() == { "message": "You are authenticated", "token": "secrettoken", } def test_get_me_no_credentials(client: TestClient): response = client.get("/me") assert response.status_code == 403 assert response.json() == {"detail": "Not authenticated"} def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java
*/ int NTLMSSP_REQUEST_TARGET = 0x00000004; /** * Specifies that communication across the authenticated channel * should carry a digital signature (message integrity). */ int NTLMSSP_NEGOTIATE_SIGN = 0x00000010; /** * Specifies that communication across the authenticated channel * should be encrypted (message confidentiality). */ int NTLMSSP_NEGOTIATE_SEAL = 0x00000020;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
serverKey = (KerberosKey) credential; } } } return serverKey; } /** * Returns the authenticated JAAS Subject. * * @return the authenticated Subject */ public Subject getSubject() { return this.subject; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmAuthenticator.java
private String url; private SmbAuthException sae; /** * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling * this metho again will have no effect. * * @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * JAAS kerberos authenticator * * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't * get proper ticket caching. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
tests/test_security_oauth2_authorization_code_bearer_description.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt
* limitations under the License. */ package okhttp3.internal import java.net.Authenticator import java.net.PasswordAuthentication class RecordingAuthenticator( private val authentication: PasswordAuthentication? = PasswordAuthentication( "username", "password".toCharArray(), ), ) : Authenticator() { val calls = mutableListOf<String>()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
try { final EntraIdAuthenticator authenticator = ComponentUtil.getComponent(EntraIdAuthenticator.class); final IAuthenticationResult newResult = authenticator.refreshTokenSilently(this); if (newResult != null) { authResult = newResult; authenticator.updateMemberOf(this); permissions = null;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.8K bytes - Viewed (0)