|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authz
Method Summary | |
---|---|
boolean |
allGranted(java.lang.String roles)
all the listed roles must be granted to return true, otherwise false; |
boolean |
anyGranted(java.lang.String roles)
any the listed roles must be granted to return true, otherwise false; |
org.springframework.context.ApplicationContext |
getAppCtx()
get Spring application context which contains |
java.lang.String |
getPrincipal()
return the principal's name, supports the various type of principals that can exist in the Authentication object, such as a String or UserDetails instance |
boolean |
noneGranted(java.lang.String roles)
none the listed roles must be granted to return true, otherwise false; |
void |
setAppCtx(org.springframework.context.ApplicationContext appCtx)
set Spring application context which contains Acegi related bean |
Method Detail |
---|
boolean allGranted(java.lang.String roles)
roles
- - comma separate GrantedAuthoritys
boolean anyGranted(java.lang.String roles)
roles
- - comma separate GrantedAuthoritys
org.springframework.context.ApplicationContext getAppCtx()
java.lang.String getPrincipal()
Authentication
object, such as a String or UserDetails
instance
boolean noneGranted(java.lang.String roles)
roles
- - comma separate GrantedAuthoritys
void setAppCtx(org.springframework.context.ApplicationContext appCtx)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |