Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasRoles (0.13 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                throws IOException, ServletException {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
            if (!requestManager.findUserBean(FessUserBean.class).map(user -> user.hasRoles(acceptedRoles)).orElse(Boolean.FALSE)) {
                response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Unauthorized access: " + request.getServletPath());
                return;
            }
    
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top