public class LdapIdentityDelegateServiceImpl extends IdentityServiceImpl
IdentityService
that communicates with and serves information
from the UA Enterprise Directory Service.Constructor and Description |
---|
LdapIdentityDelegateServiceImpl() |
addAddressToEntity, addAffiliationToEntity, addBioDemographicsToEntity, addCitizenshipToEntity, addEmailToEntity, addEmploymentToEntity, addEntityTypeContactInfoToEntity, addEthnicityToEntity, addExternalIdentifierToEntity, addNameToEntity, addPhoneToEntity, addPrincipalToEntity, addPrivacyPreferencesToEntity, addResidencyToEntity, addVisaToEntity, createEntity, findAllAddressTypes, findAllAffiliationTypes, findAllCitizenshipStatuses, findAllEmailTypes, findAllEmploymentStatuses, findAllEmploymentTypes, findAllEntityTypes, findAllExternalIdendtifierTypes, findAllNameTypes, findAllPhoneTypes, findEntities, findEntityDefaults, findNames, findPrincipals, getAddressType, getAffiliationType, getCitizenshipStatus, getDefaultNamesForPrincipalId, getEmailType, getEmploymentStatus, getEmploymentType, getEntityBoByEmployeeId, getEntityBoByPrincipalId, getEntityBoByPrincipalName, getEntityByEmployeeId, getEntityByKeyValue, getEntityDefaultByEmployeeId, getEntityType, getExternalIdentifierType, getNameType, getPhoneType, getPrincipalsByEmployeeId, getPrincipalsByEntityId, inactivateAddress, inactivateAffiliation, inactivateCitizenship, inactivateEmail, inactivateEmployment, inactivateEntity, inactivateEntityTypeContactInfo, inactivateName, inactivatePhone, inactivatePrincipal, inactivatePrincipalByName, setBusinessObjectService, setCriteriaLookupService, updateAddress, updateAffiliation, updateBioDemographics, updateCitizenship, updateEmail, updateEmployment, updateEntity, updateEntityTypeContactInfo, updateEthnicity, updateExternalIdentifier, updateName, updatePhone, updatePrincipal, updatePrivacyPreferences, updateResidency, updateVisa
public LdapIdentityDelegateServiceImpl()
public Entity getEntity(String entityId)
IdentityService
Entity
from an id.
This method will return null if the Entity does not exist.
getEntity
in interface IdentityService
getEntity
in class IdentityServiceImpl
entityId
- the unique id to retrieve the entity by. cannot be null.Entity
or nullpublic Entity getEntityByPrincipalId(String principalId)
getEntityByPrincipalId
in interface IdentityService
getEntityByPrincipalId
in class IdentityServiceImpl
principalId
- the unique id to retrieve the entity by. cannot be null.Entity
or nullpublic Entity getEntityByPrincipalName(String principalName)
IdentityService
Entity
from a principalName.
This method will return null if the Entity does not exist.
getEntityByPrincipalName
in interface IdentityService
getEntityByPrincipalName
in class IdentityServiceImpl
principalName
- the unique id to retrieve the entity by. cannot be null.Entity
or nullpublic EntityDefault getEntityDefault(String entityId)
IdentityService
EntityDefault
from an id.
EntityDefault
is a condensed version of Entity
that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefault
in interface IdentityService
getEntityDefault
in class IdentityServiceImpl
entityId
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullpublic EntityDefault getEntityDefaultByPrincipalId(String principalId)
IdentityService
EntityDefault
from an principalId.
EntityDefault
is a condensed version of Entity
that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefaultByPrincipalId
in interface IdentityService
getEntityDefaultByPrincipalId
in class IdentityServiceImpl
principalId
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or nullpublic EntityDefault getEntityDefaultByPrincipalName(String principalName)
IdentityService
EntityDefault
from an principalName.
EntityDefault
is a condensed version of Entity
that contains
default values of its subclasses
This method will return null if the Entity does not exist.
getEntityDefaultByPrincipalName
in interface IdentityService
getEntityDefaultByPrincipalName
in class IdentityServiceImpl
principalName
- the unique id to retrieve the entity by. cannot be null.EntityDefault
or null@Deprecated public Principal getPrincipalByPrincipalNameAndPassword(String principalName, String password)
getPrincipalByPrincipalNameAndPassword
in interface IdentityService
getPrincipalByPrincipalNameAndPassword
in class IdentityServiceImpl
principalName
- the unique id to retrieve the principal by. cannot be null.password
- the password for the principalPrincipal
or nullpublic EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
IdentityService
EntityPrivacyPreferences
for a given id.
This method will return null if the EntityPrivacyPreferences does not exist.
getEntityPrivacyPreferences
in interface IdentityService
getEntityPrivacyPreferences
in class IdentityServiceImpl
entityId
- the unique id to retrieve the EntityPrivacyPreferences by. Cannot be null.EntityPrivacyPreferences
or nullpublic Principal getPrincipal(String principalId)
IdentityService
Principal
from an principalId.
This method will return null if the Principal does not exist.
getPrincipal
in interface IdentityService
getPrincipal
in class IdentityServiceImpl
principalId
- the unique id to retrieve the principal by. cannot be null.Principal
or nullpublic List<Principal> getPrincipals(List<String> principalIds)
Principal
from a string list of principalId.
This method will only return principals that exist. It will return null if the none of the principals exist.
getPrincipals
in interface IdentityService
getPrincipals
in class IdentityServiceImpl
principalIds
- the unique id to retrieve the principal by. cannot be null.Principal
or nullRiceIllegalArgumentException
- if the principalId is blankpublic Principal getPrincipalByPrincipalName(String principalName)
IdentityService
Principal
from an principalName.
This method will return null if the Principal does not exist.
getPrincipalByPrincipalName
in interface IdentityService
getPrincipalByPrincipalName
in class IdentityServiceImpl
principalName
- the unique id to retrieve the principal by. cannot be null.Principal
or nullpublic void setPrincipalDao(LdapPrincipalDao principalDao)
public LdapPrincipalDao getPrincipalDao()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.