Shiro详解之Subject
来源:互联网 发布:mac ios模拟器 编辑:程序博客网 时间:2024/06/05 20:23
方法详解
Object getPrincipal();
PrincipalCollection getPrincipals();
boolean isPermitted(String permission);
boolean isPermitted(Permission permission);
boolean[] isPermitted(String... permissions);
boolean[] isPermitted(List<Permission> permissions);
boolean isPermittedAll(String... permissions);
boolean isPermittedAll(Collection<Permission> permissions);
void checkPermission(String permission) throws AuthorizationException;
void checkPermission(Permission permission) throws AuthorizationException;
void checkPermissions(String... permissions) throws AuthorizationException;
void checkPermissions(Collection<Permission> permissions) throws AuthorizationException;
boolean hasRole(String roleIdentifier);
boolean[] hasRoles(List<String> roleIdentifiers);
boolean hasAllRoles(Collection<String> roleIdentifiers);
void checkRole(String roleIdentifier) throws AuthorizationException;
void checkRoles(Collection<String> roleIdentifiers) throws AuthorizationException;
void checkRoles(String... roleIdentifiers) throws AuthorizationException;
void login(AuthenticationToken token) throws AuthenticationException;
boolean isAuthenticated();
boolean isRemembered();
Session getSession();
Session getSession(boolean create);
void logout();
<V> V execute(Callable<V> callable) throws ExecutionException;
void execute(Runnable runnable);
<V> Callable<V> associateWith(Callable<V> callable);
Runnable associateWith(Runnable runnable);
void runAs(PrincipalCollection principals) throws NullPointerException, IllegalStateException;
boolean isRunAs();
PrincipalCollection getPreviousPrincipals();
PrincipalCollection releaseRunAs();
- Shiro详解之Subject
- Shiro源码研究之构建Subject实例
- Shiro-Subject 分析
- Apache Shiro Subject学习笔记
- Shiro 2 Subject的创建
- Shiro详解之Session
- Shiro详解之SecurityManager
- shiro相同subject重复登录问题
- 关于shiro的 subject.getPrincipal()方法
- RxJava之Subject
- Rxjava 之 Subject
- Shiro 框架详解之授权
- subject
- Subject
- Subject
- JavaMail之Subject乱码解决之道
- RxJS 核心概念之Subject
- RxJava之Subject分类解析
- 腾讯社交广告大赛总结
- 30 分钟掌握 ES6 / ES2015 核心内容(上)
- Netty构建一个简单的http服务
- 学习笔记:shell基本语法
- 【NYOJ】笨小熊
- Shiro详解之Subject
- day08类的继承
- Python 10 个最好的特性
- [JAVA学习笔记-89]Executor框架的详细解读
- openfire 开发时输出xml到控制台
- [JAVA学习笔记-90]并发与并行
- 优先队列的简单实现方式
- Java实现补位
- box-sizing属性