- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getUserPrincipal (0.07 sec)
-
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
} /** * Test method for {@link NtlmHttpServletRequest#getUserPrincipal()}. * Verifies that the method returns the correct principal object. */ @Test void testGetUserPrincipal() { // Act: Call the method under test Principal actualPrincipal = ntlmRequest.getUserPrincipal();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpServletRequest.java
super(req); this.principal = principal; } @Override public String getRemoteUser() { return this.principal.getName(); } @Override public Principal getUserPrincipal() { return this.principal; } @Override public String getAuthType() { return "NTLM"; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("user1", request.getRemoteUser()); assertSame(mockPrincipal, request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); verify(mockPrincipal, times(1)).getName(); } @ParameterizedTest @ValueSource(strings = { "", " ", "unknown" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpServletRequest.java
super(req); this.principal = principal; } @Override public String getRemoteUser() { return principal.getName(); } @Override public Principal getUserPrincipal() { return principal; } @Override public String getAuthType() { return "NTLM"; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
return null; } @Override public boolean isUserInRole(String role) { return false; } @Override public Principal getUserPrincipal() { return null; } @Override public String getRequestedSessionId() { return null; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
*/ protected String replaceCredentials(final Credentials credentials, final String value) { if (StringUtil.isNotBlank(value)) { return value.replace(USERNAME, credentials.getUserPrincipal().getName()).replace(PASSWORD, credentials.getPassword()); } return StringUtil.EMPTY; } /** * Returns a string representation of this object.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
} @Override public boolean isUserInRole(String role) { return false; } @Override public java.security.Principal getUserPrincipal() { return null; } @Override public String getRequestedSessionId() { return null; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
} @Override public boolean isUserInRole(String role) { return false; } @Override public java.security.Principal getUserPrincipal() { return null; } @Override public String getRequestedSessionId() { return null; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
} @Override public boolean isUserInRole(String role) { return false; } @Override public java.security.Principal getUserPrincipal() { return null; } @Override public String getRequestedSessionId() { return null; } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
@Override public boolean isUserInRole(String role) { throw new UnsupportedOperationException(); } @Override public java.security.Principal getUserPrincipal() { throw new UnsupportedOperationException(); } @Override public String getRequestedSessionId() { throw new UnsupportedOperationException(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0)