Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isAdminUser (0.23 sec)

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

                final LocalUserCredential userCredential = credential;
                final String username = userCredential.getUser();
                final String password = userCredential.getPassword();
                if (!fessConfig.isAdminUser(username)) {
                    final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password);
                    if (ldapUser.isPresent()) {
                        return ldapUser;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            runtime.registerData("username", username);
            runtime.registerData("editableUser", fessLoginAssist.getSavedUserBean().map(FessUserBean::isEditable).orElse(false));
            runtime.registerData("adminUser", fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
                    .map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())).orElse(false));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            resolver.resolve(SpnegoCredential.class, credential -> {
                final String username = credential.getUserId();
                if (!ComponentUtil.getFessConfig().isAdminUser(username)) {
                    return ComponentUtil.getLdapManager().login(username);
                }
                return OptionalEntity.empty();
            });
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        String getAuthenticationAdminUsers();
    
        default boolean isAdminUser(final String username) {
            return split(getAuthenticationAdminUsers(), ",").get(stream -> stream.anyMatch(s -> s.equals(username)));
        }
    
        boolean isLdapAdminEnabled();
    
        default boolean isLdapAdminEnabled(final String username) {
            if (isAdminUser(username)) {
                return false;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top