|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ESOrgUnitResolver
Method Summary | |
---|---|
ESUser |
copyAndResolveUser(ESUser user)
Resolves the given user and returns a copy of it with all roles. |
List<ESGroup> |
getGroups(ESOrgUnit orgUnit)
Returns the group membership of the organizational unit. |
List<ESGroup> |
getGroups(ESOrgUnitId orgUnitId)
Returns the group member of the organizational unit the given ESOrgUnitId belongs to. |
List<ESRole> |
getRolesFromGroups(ESOrgUnit orgUnit)
Returns all roles that can be obtained via group membership. |
void |
init(ESOrgUnitProvider orgUnitProvider)
Initializes this service. |
ESUser |
resolveRoles(ESAuthenticationInformation authInfo)
Resolves the user behind the given ESAuthenticationInformation . |
ESUser |
resolveUser(ESOrgUnitId orgUnitId)
Resolves the ID of an ESUser . |
Method Detail |
---|
ESUser resolveRoles(ESAuthenticationInformation authInfo) throws AccessControlException
ESAuthenticationInformation
.
authInfo
- the authentication information to be resolved
ESUser
AccessControlException
- in case of missing access rightESUser resolveUser(ESOrgUnitId orgUnitId) throws AccessControlException
ESUser
.
orgUnitId
- the organization unit ID to be resolved
ESUser
AccessControlException
- in case of missing access rightList<ESRole> getRolesFromGroups(ESOrgUnit orgUnit)
orgUnit
- the organizational unit for which to determine the roles
ESRole
sList<ESGroup> getGroups(ESOrgUnitId orgUnitId) throws AccessControlException
ESOrgUnitId
belongs to.
orgUnitId
- the ID of an organizational unit
ESGroup
s
AccessControlException
- in case of missing access rightList<ESGroup> getGroups(ESOrgUnit orgUnit)
orgUnit
- an organizational unit
ESGroup
sESUser copyAndResolveUser(ESUser user)
user
- the user to be resolved
void init(ESOrgUnitProvider orgUnitProvider)
orgUnitProvider
- the ESOrgUnitProvider
for obtaining organizational units
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |