- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for CREDENTIAL (0.04 seconds)
-
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
* * @param <CREDENTIAL> the credential type * @param credentialType the class of the credential type * @param oneArgLambda the function to apply for credential resolution */ public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType, final Function<CREDENTIAL, OptionalEntity<FessUser>> oneArgLambda) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
public TestLoginCredentialResolver() { super(null); // Pass null since we're mocking } @Override public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType, final Function<CREDENTIAL, OptionalEntity<FessUser>> oneArgLambda) { this.resolveCalled = true; this.lastCredentialType = credentialType;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
}; // Verify SSO is available assertTrue(ssoManager.available()); // Verify login credential retrieval LoginCredential credential = ssoManager.getLoginCredential(); assertNotNull(credential); assertEquals("samluser", ((TestLoginCredential) credential).username); // Verify response retrievalCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
} } /** * Resolves the SPNEGO credential to a user entity. * * This method handles the resolution of SPNEGO credentials by checking * if the user is an admin user or needs to be authenticated through LDAP. * * @param resolver The credential resolver to use for user lookup */ @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:18:23 GMT 2026 - 18.2K bytes - Click Count (3) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
public void test_getLoginCredential_withRequest() { // With a request context, should return ActionResponseCredential for OAuth redirect final var credential = authenticator.getLoginCredential(); assertNotNull(credential); assertTrue(credential instanceof ActionResponseCredential); } @Test public void test_parseJwtClaim_nestedArray() throws IOException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
} /** * Log the login failure activity. * @param credential The credential. */ public void loginFailure(final OptionalThing<LoginCredential> credential) { final Map<String, String> valueMap = new LinkedHashMap<>(); valueMap.put("action", Action.LOGIN_FAILURE.name()); credential.ifPresent(c -> { valueMap.put("class", c.getClass().getSimpleName());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
} }).orElse(null); } /** * Creates a login credential. * @param request The HTTP request. * @param response The HTTP response. * @param auth The SAML authentication. * @return The login credential. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 03:13:33 GMT 2026 - 20.2K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
} @Override public void resolveCredential(final LoginCredentialResolver resolver) { resolver.resolve(OpenIdConnectCredential.class, credential -> OptionalEntity.of(credential.getUser())); } @Override public ActionResponse getResponse(final SsoResponseType responseType) { return null; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Dec 14 01:18:25 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
} @Test public void test_loginFailure_withCredential() { activityHelper.useEcsFormat = false; LoginCredential credential = new TestLoginCredential(); activityHelper.loginFailure(OptionalThing.of(credential)); String result = localLogMsg.get(); assertTrue(result.contains("action:LOGIN_FAILURE")); assertTrue(result.contains("class:TestLoginCredential"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
public String spnegoPromptNtlm; /** Enable or disable SPNEGO localhost authentication. */ @Size(max = 10) public String spnegoAllowLocalhost; /** Enable or disable SPNEGO credential delegation. */ @Size(max = 10) public String spnegoAllowDelegation; /** SPNEGO directories to exclude from authentication. */ @Size(max = 1000) public String spnegoExcludeDirs;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 15.8K bytes - Click Count (0)