public class IdentityManagementServiceImpl extends Object implements IdentityManagementService
Constructor and Description |
---|
IdentityManagementServiceImpl() |
public IdentityManagementServiceImpl()
public void flushAllCaches()
flushAllCaches
in interface IdentityManagementService
public void flushEntityPrincipalCaches()
flushEntityPrincipalCaches
in interface IdentityManagementService
public void flushGroupCaches()
flushGroupCaches
in interface IdentityManagementService
public void flushPermissionCaches()
flushPermissionCaches
in interface IdentityManagementService
public void flushResponsibilityCaches()
flushResponsibilityCaches
in interface IdentityManagementService
public boolean hasPermission(String principalId, String namespaceCode, String permissionName, Map<String,String> permissionDetails)
hasPermission
in interface IdentityManagementService
public boolean isAuthorized(String principalId, String namespaceCode, String permissionName, Map<String,String> permissionDetails, Map<String,String> qualification)
isAuthorized
in interface IdentityManagementService
public boolean hasPermissionByTemplate(String principalId, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails)
hasPermissionByTemplate
in interface IdentityManagementService
public boolean isAuthorizedByTemplate(String principalId, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails, Map<String,String> qualification)
isAuthorizedByTemplate
in interface IdentityManagementService
public List<Permission> getAuthorizedPermissions(String principalId, String namespaceCode, String permissionName, Map<String,String> permissionDetails, Map<String,String> qualification)
IdentityManagementService
getAuthorizedPermissions
in interface IdentityManagementService
public List<Permission> getAuthorizedPermissionsByTemplate(String principalId, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails, Map<String,String> qualification)
getAuthorizedPermissionsByTemplate
in interface IdentityManagementService
public boolean isPermissionDefinedForTemplate(String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails)
IdentityManagementService
isPermissionDefinedForTemplate
in interface IdentityManagementService
public List<Assignee> getPermissionAssignees(String namespaceCode, String permissionName, Map<String,String> permissionDetails, Map<String,String> qualification)
getPermissionAssignees
in interface IdentityManagementService
public List<Assignee> getPermissionAssigneesForTemplate(String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails, Map<String,String> qualification)
getPermissionAssigneesForTemplate
in interface IdentityManagementService
public boolean isMemberOfGroup(String principalId, String groupId)
isMemberOfGroup
in interface IdentityManagementService
public boolean isMemberOfGroup(String principalId, String namespaceCode, String groupName)
isMemberOfGroup
in interface IdentityManagementService
public boolean isGroupMemberOfGroup(String potentialMemberId, String potentialParentId)
isGroupMemberOfGroup
in interface IdentityManagementService
public List<String> getGroupMemberPrincipalIds(String groupId)
getGroupMemberPrincipalIds
in interface IdentityManagementService
public List<String> getDirectGroupMemberPrincipalIds(String groupId)
getDirectGroupMemberPrincipalIds
in interface IdentityManagementService
public List<String> getGroupIdsForPrincipal(String principalId)
getGroupIdsForPrincipal
in interface IdentityManagementService
public List<String> getGroupIdsForPrincipal(String principalId, String namespaceCode)
getGroupIdsForPrincipal
in interface IdentityManagementService
public List<Group> getGroupsForPrincipal(String principalId)
getGroupsForPrincipal
in interface IdentityManagementService
public List<Group> getGroupsForPrincipal(String principalId, String namespaceCode)
getGroupsForPrincipal
in interface IdentityManagementService
public List<String> getMemberGroupIds(String groupId)
getMemberGroupIds
in interface IdentityManagementService
public List<String> getDirectMemberGroupIds(String groupId)
getDirectMemberGroupIds
in interface IdentityManagementService
public Group getGroup(String groupId)
getGroup
in interface IdentityManagementService
public Group getGroupByName(String namespaceCode, String groupName)
getGroupByName
in interface IdentityManagementService
public List<String> getParentGroupIds(String groupId)
getParentGroupIds
in interface IdentityManagementService
public List<String> getDirectParentGroupIds(String groupId)
getDirectParentGroupIds
in interface IdentityManagementService
public boolean addGroupToGroup(String childId, String parentId)
addGroupToGroup
in interface IdentityManagementService
public boolean addPrincipalToGroup(String principalId, String groupId)
addPrincipalToGroup
in interface IdentityManagementService
public boolean removeGroupFromGroup(String childId, String parentId)
removeGroupFromGroup
in interface IdentityManagementService
public boolean removePrincipalFromGroup(String principalId, String groupId)
removePrincipalFromGroup
in interface IdentityManagementService
public Group createGroup(Group group)
createGroup
in interface IdentityManagementService
public void removeAllMembers(String groupId)
removeAllMembers
in interface IdentityManagementService
public Group updateGroup(String groupId, Group group)
updateGroup
in interface IdentityManagementService
public Principal getPrincipal(String principalId)
getPrincipal
in interface IdentityManagementService
public Principal getPrincipalByPrincipalName(String principalName)
getPrincipalByPrincipalName
in interface IdentityManagementService
public Principal getPrincipalByPrincipalNameAndPassword(String principalName, String password)
getPrincipalByPrincipalNameAndPassword
in interface IdentityManagementService
public EntityDefault getEntityDefaultInfo(String entityId)
getEntityDefaultInfo
in interface IdentityManagementService
public EntityDefault getEntityDefaultInfoByPrincipalId(String principalId)
getEntityDefaultInfoByPrincipalId
in interface IdentityManagementService
public EntityDefault getEntityDefaultInfoByPrincipalName(String principalName)
getEntityDefaultInfoByPrincipalName
in interface IdentityManagementService
public EntityDefaultQueryResults findEntityDefaults(QueryByCriteria queryByCriteria)
findEntityDefaults
in interface IdentityManagementService
public Entity getEntity(String entityId)
getEntity
in interface IdentityManagementService
public Entity getEntityByPrincipalId(String principalId)
getEntityByPrincipalId
in interface IdentityManagementService
public Entity getEntityByPrincipalName(String principalName)
getEntityByPrincipalName
in interface IdentityManagementService
public EntityQueryResults findEntities(QueryByCriteria queryByCriteria)
findEntities
in interface IdentityManagementService
public CodedAttribute getAddressType(String code)
getAddressType
in interface IdentityManagementService
public CodedAttribute getEmailType(String code)
getEmailType
in interface IdentityManagementService
public EntityAffiliationType getAffiliationType(String code)
getAffiliationType
in interface IdentityManagementService
public CodedAttribute getCitizenshipStatus(String code)
getCitizenshipStatus
in interface IdentityManagementService
public CodedAttribute getEmploymentStatus(String code)
getEmploymentStatus
in interface IdentityManagementService
public CodedAttribute getEmploymentType(String code)
getEmploymentType
in interface IdentityManagementService
public CodedAttribute getEntityNameType(String code)
getEntityNameType
in interface IdentityManagementService
public CodedAttribute getEntityType(String code)
getEntityType
in interface IdentityManagementService
public EntityExternalIdentifierType getExternalIdentifierType(String code)
getExternalIdentifierType
in interface IdentityManagementService
public CodedAttribute getPhoneType(String code)
getPhoneType
in interface IdentityManagementService
public Responsibility getResponsibility(String responsibilityId)
IdentityManagementService
getResponsibility
in interface IdentityManagementService
public boolean hasResponsibility(String principalId, String namespaceCode, String responsibilityName, Map<String,String> qualification)
IdentityManagementService
hasResponsibility
in interface IdentityManagementService
public Responsibility getResponsibilityByName(String namespaceCode, String responsibilityName)
IdentityManagementService
getResponsibilityByName
in interface IdentityManagementService
public List<ResponsibilityAction> getResponsibilityActions(String namespaceCode, String responsibilityName, Map<String,String> qualification, Map<String,String> responsibilityDetails)
getResponsibilityActions
in interface IdentityManagementService
public List<ResponsibilityAction> getResponsibilityActionsByTemplate(String namespaceCode, String responsibilityTemplateName, Map<String,String> qualification, Map<String,String> responsibilityDetails)
getResponsibilityActionsByTemplate
in interface IdentityManagementService
public boolean hasResponsibilityByTemplate(String principalId, String namespaceCode, String responsibilityTemplateName, Map<String,String> qualification, Map<String,String> responsibilityDetails)
IdentityManagementService
hasResponsibilityByTemplate
in interface IdentityManagementService
protected void logAuthorizationCheck(String checkType, String principalId, String namespaceCode, String permissionName, Map<String,String> permissionDetails, Map<String,String> qualification)
protected void logHasPermissionCheck(String checkType, String principalId, String namespaceCode, String permissionName, Map<String,String> permissionDetails)
public IdentityService getIdentityService()
public GroupService getGroupService()
public PermissionService getPermissionService()
public ResponsibilityService getResponsibilityService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.