【shiro】authc与logout

DefaultFilterChainManager会默认添加org.apache.shiro.web.filter.mgt.DefaultFilter中声明的拦截器:

Java代码  
  1. public enum DefaultFilter {  
  2.     anon(AnonymousFilter.class),  
  3.     authc(FormAuthenticationFilter.class),  
  4.     authcBasic(BasicHttpAuthenticationFilter.class),  
  5.     logout(LogoutFilter.class),  
  6.     noSessionCreation(NoSessionCreationFilter.class),  
  7.     perms(PermissionsAuthorizationFilter.class),  
  8.     port(PortFilter.class),  
  9.     rest(HttpMethodPermissionFilter.class),  
  10.     roles(RolesAuthorizationFilter.class),  
  11.     ssl(SslFilter.class),  
  12.     user(UserFilter.class);  
  13. }   
posted @   Legolas_4  阅读(335)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示