- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getAuthType (0.17 seconds)
-
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
/** * Test method for {@link NtlmHttpServletRequest#getAuthType()}. * Verifies that the method always returns "NTLM". */ @Test void testGetAuthType() { // Arrange: Define the expected authentication type String expectedAuthType = "NTLM"; // Act: Call the method under test String actualAuthType = ntlmRequest.getAuthType();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpServletRequest.java
return this.principal.getName(); } @Override public Principal getUserPrincipal() { return this.principal; } @Override public String getAuthType() { return "NTLM"; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
*/ enum AuthType { NTLM, KERBEROS, SPNEGO, GUEST, ANONYMOUS } /** * Gets the authentication type * * @return the authentication type */ AuthType getAuthType(); /** * Authenticates using the provided context * * @param context the CIFS context * @param challenge the server challenge (may be null for some auth types)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/smb1/http/NtlmHttpServletRequest.java
public String getRemoteUser() { return principal.getName(); } @Override public Principal getUserPrincipal() { return principal; } @Override public String getAuthType() { return "NTLM"; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("NTLM", request.getAuthType()); // Verify it returns the same value on multiple calls assertEquals("NTLM", request.getAuthType()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0)