diff --git a/jinbooks/jinbooks-commons/jinbooks-authn-core/src/main/java/com/jinbooks/authn/web/interceptor/PermissionInterceptor.java b/jinbooks/jinbooks-commons/jinbooks-authn-core/src/main/java/com/jinbooks/authn/web/interceptor/PermissionInterceptor.java index b1ae9f3..c1578ba 100644 --- a/jinbooks/jinbooks-commons/jinbooks-authn-core/src/main/java/com/jinbooks/authn/web/interceptor/PermissionInterceptor.java +++ b/jinbooks/jinbooks-commons/jinbooks-authn-core/src/main/java/com/jinbooks/authn/web/interceptor/PermissionInterceptor.java @@ -86,14 +86,6 @@ public class PermissionInterceptor implements AsyncHandlerInterceptor { return false; } - //管理端必须使用管理员登录,非管理员用户直接注销 - if (this.mgmt && !principal.isRoleAdministrators()) { - logger.debug("Not ADMINISTRATORS Authentication ."); - RequestDispatcher dispatcher = request.getRequestDispatcher("/auth/entrypoint"); - dispatcher.forward(request, response); - return false; - } - return true; }