public interface IdentityHelperService
Modifier and Type | Method and Description |
---|---|
Group |
getGroup(GroupId groupId)
Returns the Group for the given GroupId.
|
Group |
getGroup(String groupId)
Returns the Group for the given groupId.
|
Group |
getGroupByName(String namespaceCode,
String name)
Returns the Group for the given namespaceCode and name.
|
String |
getIdForGroupName(String namespace,
String groupName) |
String |
getIdForPrincipalName(String principalName) |
Person |
getPerson(String principalId)
Returns the Person for the given principal id.
|
Person |
getPersonByEmployeeId(String employeeId)
Returns the Person for the given employee id.
|
Person |
getPersonByPrincipalName(String principalName)
Returns the Person for the given principal name.
|
Principal |
getPrincipal(String principalId)
Returns the KimPrincipal for the given principal id.
|
Principal |
getPrincipal(UserId userId)
Returns the principal for the given UserId.
|
Principal |
getPrincipalByPrincipalName(String principalName)
Returns the KimPrincipal for the given principal name.
|
Recipient |
getPrincipalRecipient(String principalId)
Returns the Recipient for the given principalId.
|
Principal |
getSystemPrincipal()
Returns the principal for the "system user".
|
void |
validatePrincipalId(String principalId)
Checks that the given principalId is valid.
|
String getIdForPrincipalName(String principalName)
String getIdForGroupName(String namespace, String groupName)
Principal getPrincipal(String principalId)
RiceIllegalArgumentException
- if the principal id cannot be resolved to a principal.Principal getPrincipalByPrincipalName(String principalName)
RiceIllegalArgumentException
- if the principal name cannot be resolved to a principalPerson getPerson(String principalId)
RiceIllegalArgumentException
- if the principal id cannot be resolved to a person.Person getPersonByPrincipalName(String principalName)
RiceIllegalArgumentException
- if the principal name cannot be resolved to a person.Person getPersonByEmployeeId(String employeeId)
RiceIllegalArgumentException
- if the principal name cannot be resolved to a person.void validatePrincipalId(String principalId)
RiceIllegalArgumentException
- if the given principalId is validPrincipal getPrincipal(UserId userId)
RiceIllegalArgumentException
- if the given UserId does not resolve to a valid principalGroup getGroup(String groupId)
RiceIllegalArgumentException
- if the groupId cannot be resolved to a group.Group getGroup(GroupId groupId)
RiceIllegalArgumentException
- if the GroupId cannot be resolved to a group.Group getGroupByName(String namespaceCode, String name)
RiceIllegalArgumentException
- if the namespaceCode and name cannot be resolved to a group.Recipient getPrincipalRecipient(String principalId)
RiceIllegalArgumentException
- if the principalId cannot be resolved to a recipientPrincipal getSystemPrincipal()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.