- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 795 for type1 (0.02 sec)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
// When Type1Message type1 = new Type1Message(mockContext, flags, domain, workstation); // Then assertEquals(domain, type1.getSuppliedDomain()); assertEquals(workstation, type1.getSuppliedWorkstation()); assertTrue((type1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED) != 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// Given CIFSContext mockContext = createMockContext(); Type1Message type1 = new Type1Message(mockContext); type1.setFlags(Type1Message.NTLMSSP_NEGOTIATE_UNICODE | Type1Message.NTLMSSP_REQUEST_TARGET); // When Type2Message message = new Type2Message(mockContext, type1); // Then assertNotNull(message);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
} final byte[] type1 = new byte[hostInfo ? 32 + domain.length + workstation.length : 16]; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8); writeULong(type1, 8, 1); writeULong(type1, 12, flags); if (hostInfo) { writeSecurityBuffer(type1, 16, 32, domain); writeSecurityBuffer(type1, 24, 32 + domain.length, workstation); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
* * @param tc * context to use * @param type1 * The Type-1 message which this represents a response to. */ public Type2Message(final CIFSContext tc, final Type1Message type1) { this(tc, type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. * * @param tc * context to useRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
this(type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. * * @param type1 The Type-1 message which this represents a response to. * @param challenge The challenge from the domain controller/server. * @param target The authentication target. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
} final byte[] type1 = new byte[size]; int pos = 0; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length); pos += NTLMSSP_SIGNATURE.length; writeULong(type1, pos, NTLMSSP_TYPE1); pos += 4; writeULong(type1, pos, flags); pos += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
if (src[8] == 1) { final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(type1, challenge, null); msg = Base64.encode(type2.toByteArray()); resp.setHeader("WWW-Authenticate", "NTLM " + msg); } else if (src[8] == 3) { final Type3Message type3 = new Type3Message(src);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
final Type1Message type1 = new Type1Message(src); final Type2Message type2 = new Type2Message(tc, type1, challenge, null); msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII"); resp.setHeader("WWW-Authenticate", "NTLM " + msg); } else if (src[8] == 3) { final Type3Message type3 = new Type3Message(src);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} final Type3Message type3 = (Type3Message) attemptNegotiation(response); if (type3 == null) { return; } connection.setRequestProperty(authProperty, authMethod + ' ' + Base64.encode(type3.toByteArray())); connection.connect(); // send type 3 if (cachedOutput != null && doOutput) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
} final NtlmMessage type3 = attemptNegotiation(response); if (type3 == null) { return; } this.connection.setRequestProperty(this.authProperty, this.authMethod + ' ' + Base64.toBase64String(type3.toByteArray())); this.connection.connect(); // send type 3 if (this.cachedOutput != null && this.doOutput) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)