- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getChallenge (0.05 sec)
-
src/main/java/jcifs/ntlmssp/Type2Message.java
* @return A <code>byte[]</code> containing the challenge. */ public byte[] getChallenge() { return this.challenge; } /** * Sets the challenge for this message. * * @param challenge * The challenge from the domain controller/server. */ public void setChallenge(final byte[] challenge) { this.challenge = challenge; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
when(transportPool.getChallenge(context, address)).thenReturn(expectedChallenge); // When byte[] result = transportPool.getChallenge(context, address); // Then assertNotNull(result); assertArrayEquals(expectedChallenge, result); verify(transportPool).getChallenge(context, address); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* * @return A <code>byte[]</code> containing the challenge. */ public byte[] getChallenge() { return challenge; } /** * Sets the challenge for this message. * * @param challenge The challenge from the domain controller/server. */ public void setChallenge(final byte[] challenge) { this.challenge = challenge; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
class GetterSetterTests { @Test @DisplayName("setChallenge and getChallenge should work correctly") void testGetSetChallenge() { // Given CIFSContext mockContext = createMockContext(); Type2Message message = new Type2Message(mockContext); // When message.setChallenge(TEST_CHALLENGE); // Then
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/SmbTransportPool.java
* @deprecated functionality is broken and will be removed at some point, * use actual Active Directory authentication instead */ @Deprecated byte[] getChallenge(CIFSContext tc, Address dc) throws CIFSException; /** * Get NTLM challenge from a server * * @param dc the domain controller address * @param port the port number
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/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When: Get challenge byte[] key = poolSpy.getChallenge(ctx, address); // Then: Should return server key assertArrayEquals(expectedKey, key, "Should return correct server key"); verify(internal).ensureConnected(); } @Test @DisplayName("Should wrap IOException in SmbException for getChallenge") void testGetChallengeIOException() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
setLMResponse(clientChallenge); setNTResponse(ntlm2Response); if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) { final byte[] sessionNonce = new byte[16]; System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Final cleanup cleanup(); return inUse; } @Override public byte[] getChallenge(final CIFSContext tf, final Address dc) throws SmbException { return getChallenge(tf, dc, 0); } @Override public byte[] getChallenge(final CIFSContext tf, final Address dc, final int port) throws SmbException { try (SmbTransportInternal trans = tf.getTransportPool()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
final byte[] ntlm2Response = NtlmUtil.getNTLM2Response(passwordHash, type2.getChallenge(), clientChallenge); setLMResponse(clientChallenge); setNTResponse(ntlm2Response); final byte[] sessionNonce = new byte[16]; System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8); System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* @throws SmbException if an SMB error occurs * @throws UnknownHostException if the host cannot be resolved */ public static byte[] getChallenge(final UniAddress dc) throws SmbException, UnknownHostException { return getChallenge(dc, 0); } /** * Retrieves the NTLM challenge from the specified domain controller using the specified port. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)