public class GrouperPersonAttributeDao extends BasePersonAttributeDao
IPersonAttributeDao API only used by CAS which simply reads all
the groups from Grouper repository
for a given principal and adopts them to IPersonAttributes instance.
All other unimplemented methods throw UnsupportedOperationException
This implementation uses Grouper's grouperClient library to query Grouper's back-end repository.
Note: This class extends the adapter implementing deprecated methods of IPersonAttributeDao which is scheduled to be removed
in person-directory 1.6
Note: All the Grouper server connection configuration for grouperClient is defined in
grouper.client.properties file and must be available
in client application's (CAS web application) classpath.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_GROUPER_ATTRIBUTES_KEY |
loggerWILDCARD, WILDCARD_PATTERN| Constructor and Description |
|---|
GrouperPersonAttributeDao() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAvailableQueryAttributes() |
Set<IPersonAttributes> |
getPeople(Map<String,Object> stringObjectMap) |
Set<IPersonAttributes> |
getPeopleWithMultivaluedAttributes(Map<String,List<Object>> stringListMap) |
IPersonAttributes |
getPerson(String subjectId) |
Set<String> |
getPossibleUserAttributeNames() |
flattenResults, getMultivaluedUserAttributes, getMultivaluedUserAttributes, getUserAttributes, getUserAttributespublic static final String DEFAULT_GROUPER_ATTRIBUTES_KEY
public IPersonAttributes getPerson(String subjectId)
public Set<IPersonAttributes> getPeople(Map<String,Object> stringObjectMap)
Copyright © 2015 Jasig. All Rights Reserved.