java.lang.Object | |
↳ | org.springframework.security.taglibs.velocity.AuthzImpl |
I decided to wrap several JSP tag in one class, so I have to using inner class to wrap these JSP tag. To using this class, you need to inject Spring Context via SetAppCtx() method. AclTag need Spring Context to get AclManger bean.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
all the listed roles must be granted to return true, otherwise false;
| |||||||||||
any the listed roles must be granted to return true, otherwise false;
| |||||||||||
get Spring application context which contains
| |||||||||||
implementation of AuthenticationTag
| |||||||||||
none the listed roles must be granted to return true, otherwise false;
| |||||||||||
test case can use this class to mock application context with aclManager bean in it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.taglibs.velocity.Authz
|
all the listed roles must be granted to return true, otherwise false;
roles | - comma separate GrantedAuthoritys |
---|
any the listed roles must be granted to return true, otherwise false;
roles | - comma separate GrantedAuthoritys |
---|
get Spring application context which contains
implementation of AuthenticationTag
none the listed roles must be granted to return true, otherwise false;
roles | - comma separate GrantedAuthoritys |
---|
test case can use this class to mock application context with aclManager bean in it.