Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAuthenticationAdminRolesAsArray (0.19 sec)

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

            runtime.registerData("adminUser", fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
                    .map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())).orElse(false));
    
            runtime.registerData("pageLoginLink", fessConfig.isLoginLinkEnabled());
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            return loginAssist.getSavedUserBean()
                    .map(user -> user.hasRoles(roles) || user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray()))
                    .orElse(false);
        }
    
        public static String maskEmail(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                final String query) {
            userBean.map(user -> {
                if (user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray())) {
                    return Constants.SEARCH_PREFERENCE_LOCAL;
                }
                return user.getUserId();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top