|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authz
Method Summary | |
---|---|
boolean |
allGranted(String roles)
all the listed roles must be granted to return true, otherwise false; |
boolean |
anyGranted(String roles)
any the listed roles must be granted to return true, otherwise false; |
ApplicationContext |
getAppCtx()
get Spring application context which contains |
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(String roles)
none the listed roles must be granted to return true, otherwise false; |
void |
setAppCtx(ApplicationContext appCtx)
set Spring application context which contains Acegi related bean |
Method Detail |
---|
boolean allGranted(String roles)
roles
- - comma separate GrantedAuthoritys
boolean anyGranted(String roles)
roles
- - comma separate GrantedAuthoritys
ApplicationContext getAppCtx()
String getPrincipal()
Authentication
object, such as a String or UserDetails
instance
boolean noneGranted(String roles)
roles
- - comma separate GrantedAuthoritys
void setAppCtx(ApplicationContext appCtx)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |