- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 77 for challenges (0.07 sec)
-
src/main/java/jcifs/smb/AuthenticationProvider.java
* 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; /** * Gets the session key after successful authentication *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
} @Test @DisplayName("Should handle exception when getting challenge") void testGetChallengeException() throws CIFSException { // Given when(transportPool.getChallenge(context, address)).thenThrow(new CIFSException("Failed to get challenge")); // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/features/calls.md
If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included. ## Retrying Requests
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
*/ @Deprecated void logon(CIFSContext tc, Address dc, int port) throws CIFSException; /** * Get NTLM challenge from a server * * @param dc the domain controller address * @param tc the CIFS context containing credentials * @return NTLM challenge * @throws CIFSException if an error occurs during authentication
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* @param username the username to authenticate with * @param challenge the server challenge bytes * @param ansiHash the ANSI password hash * @param unicodeHash the Unicode password hash */ public NtlmPasswordAuthentication(final String domain, final String username, final byte[] challenge, final byte[] ansiHash, final byte[] unicodeHash) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
} NtlmPasswordAuthentication ntlm; if (msg.startsWith("NTLM ")) { final byte[] challenge = SmbSession.getChallenge(dc); ntlm = NtlmSsp.authenticate(request, response, challenge); if (ntlm == null) { return; } } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
} return new NtlmChallenge(trans.server.encryptionKey, dc); } /** * Retrieves an NTLM challenge from a domain controller for the configured domain. * * @return the NTLM challenge from the domain controller * @throws SmbException if an SMB error occurs * @throws UnknownHostException if the domain controller cannot be resolved */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
NtlmContext context = new NtlmContext(mockAuth, true); // State 1: Generate Type 1 message context.initSecContext(new byte[0], 0, 0); // Create a mock Type 2 message (server challenge) byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertEquals(expectedFlags, message.getFlags(), "Default flags should be set correctly"); assertNull(message.getChallenge(), "Challenge should initially be null"); assertNull(message.getTarget(), "Target should initially be null"); assertNull(message.getTargetInformation(), "Target information should be null when no target is set"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} /** * This constructor used to instance a SigningDigest object for * signing/verifying SMB using kerberos session key. * The MAC Key = concat(Session Key, Digest of Challenge); * Because of Kerberos Authentication don't have challenge, * The MAC Key = Session Key * * @param macSigningKey * The MAC key used to sign or verify SMB. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0)