Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for hasRole (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

         * @return HTML response redirecting to the appropriate admin interface
         */
        protected HtmlResponse redirectByUser(final FessUserBean user) {
            if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) {
                return redirect(AdminDashboardAction.class);
            }
            final Class<? extends FessAdminAction> actionClass = AdminAction.getAdminActionClass(user);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top