|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.impl.identity.IdentityServiceImpl org.kuali.rice.kim.service.impl.LdapIdentityDelegateServiceImpl
public class LdapIdentityDelegateServiceImpl
Implementation of IdentityService
that communicates with and serves information
from the UA Enterprise Directory Service.
Constructor Summary | |
---|---|
LdapIdentityDelegateServiceImpl()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LdapIdentityDelegateServiceImpl()
Method Detail |
---|
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 principal
Principal
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 null
RiceIllegalArgumentException
- 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |