|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a context for an authenticated user. The primary purpose of the authenticated user context (AUC) object is to carry the list principal memberships for the user such as group memberships and directory tree container memberships.
Method Summary | |
String[] |
getContainerNames()
Returns names of all the containers to which the authenticated user belongs. |
Collection |
getContainers()
Returns the list of all directory tree containers to which the user belongs, all the way up to the root container. |
String[] |
getGroupNames()
Returns names of all the groups to which the authenticated user belongs. |
Collection |
getGroups()
Returns the list of all groups to which the user belongs. |
String[] |
getPrincipalNames()
Returns names of all the principals to which the authenticated user belongs. |
Collection |
getPrincipals()
Returns the list of all principal memberships for the user. |
boolean |
hasContainer(EbiRealmContainer container)
Tells whether the authenticated user context has a specific container in its list of container memberships for the authenticated user. |
boolean |
hasContainers()
Tells whether the authenticated user belongs to at least one container. |
boolean |
hasGroup(EbiRealmGroup group)
Tells whether the authenticated user context has a specific group in its list of group memberships for the authenticated user. |
boolean |
hasGroups()
Tells whether the authenticated user belongs to at least one group. |
boolean |
hasPrincipals()
Tells whether the authenticated user belongs to at least one group or container. |
Method Detail |
public Collection getPrincipals()
EbiRealmPrincipal
.public Collection getGroups()
EbiRealmGroup
.public Collection getContainers()
EbiRealmContainer
.public boolean hasGroups()
public boolean hasGroup(EbiRealmGroup group)
group
- the group to checkpublic boolean hasContainers()
public boolean hasPrincipals()
public boolean hasContainer(EbiRealmContainer container)
container
- the container to checkpublic String[] getPrincipalNames()
public String[] getGroupNames()
public String[] getContainerNames()
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |