1前提配置:
或xml方式
2web安全表达式
(1) hasRole, hasAnyRole (2) hasAuthority, hasAnyAuthority (3)permitAll, denyAll (4) isAnonymous, isRememberMe, isAuthenticated, isFullyAuthenticated (5) principal, authentication (6) hasPermission
3这些表达式负责定义对应用程序中特定URL或方法的访问控制或授权,如下
xml方式
4hasAuthority, hasAnyAutho