|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchPrincipal
Search principal.
Method Summary | |
---|---|
String[] |
getGroups()
Return the groups the principal belong to. |
Serializable |
getOriginalPrincipal()
Returns the original principal from which the search principal has been constructed. |
boolean |
isAdministrator()
Returns tru if user is an administrator Security will still apply to this user |
boolean |
isSystemUser()
Is the search principal a system user. |
Methods inherited from interface java.security.Principal |
---|
equals, getName, hashCode, toString |
Method Detail |
---|
String[] getGroups()
boolean isAdministrator()
Security will still apply to this user
boolean isSystemUser()
A system user is a user which doesn't have security restriction at application level. (i.e : only used internally by application components)
This is will be helpful for the backend to decide if wether or not it should apply stack security queries.
Serializable getOriginalPrincipal()
It returns a Serializable instance since Principal since Principal is not a Serializable.
If not constructed from a principal then this method will return null.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |