Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 25 for CREDENTIAL (0.05 seconds)

  1. src/main/java/org/codelibs/fess/app/web/base/login/ActionResponseCredential.java

     */
    package org.codelibs.fess.app.web.base.login;
    
    import java.util.function.Supplier;
    
    import org.lastaflute.web.login.credential.LoginCredential;
    import org.lastaflute.web.response.ActionResponse;
    
    /**
     * The credential for action response.
     */
    public class ActionResponseCredential implements LoginCredential {
    
        private final Supplier<ActionResponse> action;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/SsoManager.java

        }
    
        /**
         * Attempts to obtain login credentials using the configured SSO authenticator.
         *
         * @return The login credential from SSO authentication, or null if SSO is not available
         *         or no credential could be obtained
         */
        public LoginCredential getLoginCredential() {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. 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
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/util/SystemUtil.java

     * methods specific to the Fess application.
     */
    public class SystemUtil extends org.codelibs.core.lang.SystemUtil {
    
        private static final String DEFAULT_SENSITIVE_PATTERN = ".*password.*|.*secret.*|.*key.*|.*token.*|.*credential.*|.*auth.*|.*private.*";
    
        private static volatile Pattern sensitivePattern;
    
        /**
         * Private constructor to prevent instantiation.
         */
        private SystemUtil() {
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:32:50 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. 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;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.UrlChain;
    import org.lastaflute.web.login.credential.LoginCredential;
    import org.lastaflute.web.login.exception.LoginFailureException;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. 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)
Back to Top