| 程序包 | 说明 |
|---|---|
| io.jboot.components.cache.interceptor | |
| io.jboot.support.shiro.directives | |
| io.jboot.web.directive | |
| io.jboot.web.directive.base |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ParaDirective |
| 限定符和类型 | 类和说明 |
|---|---|
class |
JbootShiroDirectiveBase
Shiro 指令的基类
|
class |
ShiroAuthenticatedDirective
用户已经身份验证通过,Subject.login登录成功
#shiroAuthenticated()
body
#end
|
class |
ShiroGuestDirective
游客访问时。
|
class |
ShiroHasAllPermissionDirective
拥有全部权限
#shiroHasAllPermission(permissionName1,permissionName2)
body
#end
|
class |
ShiroHasAllRolesDirective
拥有全部角色
#shiroHasAllRoles(roleName1,roleName2)
body
#end
|
class |
ShiroHasAnyPermissionDirective
拥有任何一个权限
#shiroHasAnyPermission(permission1,permission2)
body
#end
|
class |
ShiroHasAnyRolesDirective
拥有任何一个角色
#shiroHasAnyRoles(roleName1,roleName2)
body
#end
|
class |
ShiroHasPermissionDirective
有相应权限
#shiroHasPermission(permissionName)
body
#end
|
class |
ShiroHasRoleDirective
有相应角色
#shiroHasRole(roleName)
body
#end
|
class |
ShiroNoAuthenticatedDirective
未进行身份验证时,即没有调用Subject.login进行登录。
|
class |
ShiroNotHasPermissionDirective
没有该权限
#shiroNotHasPermission(permissionName)
body
#end
|
class |
ShiroNotHasRoleDirective
没有该角色
#shiroNotHasRole(roleName)
body
#end
|
class |
ShiroPrincipalDirective
获取Subject Principal 身份信息
#shiroPrincipal()
#(principal)
#end
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
JbootPaginateDirective |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PaginateDirectiveBase |
Copyright © 2024. All rights reserved.