public class SAMLCredentialPersonAttributeDao extends AbstractQueryPersonAttributeDao<SAMLCredentialPersonAttributeDao.QueryBuilder>
| Modifier and Type | Class and Description |
|---|---|
static class |
SAMLCredentialPersonAttributeDao.QueryBuilder
Only extending AbstractQueryPersonAttributeDao for the
resultAttributeMapping behavior; for the present we don't need to build
queries.
|
DEFAULT_CASE_CANONICALIZATION_MODE, DEFAULT_USERNAME_CASE_CANONICALIZATION_MODEloggerWILDCARD, WILDCARD_PATTERN| Constructor and Description |
|---|
SAMLCredentialPersonAttributeDao() |
| Modifier and Type | Method and Description |
|---|---|
protected SAMLCredentialPersonAttributeDao.QueryBuilder |
appendAttributeToQuery(SAMLCredentialPersonAttributeDao.QueryBuilder queryBuilder,
java.lang.String dataAttribute,
java.util.List<java.lang.Object> queryValues)
Append the attribute and value to the queryBuilder.
|
protected java.util.List<IPersonAttributes> |
getPeopleForQuery(SAMLCredentialPersonAttributeDao.QueryBuilder queryBuilder,
java.lang.String queryUserName)
Per AbstractQueryPersonAttributeDao, this method returns "unmapped
attributes" which are transformed using the resultAttributeMapping
collection.
|
void |
setCurrentUserProvider(ICurrentUserProvider currentUserProvider)
Sets the
ICurrentUserProvider to use when determining if the
additional attributes (from the SAMLCredential) should be returned. |
appendCanonicalizedAttributeToQuery, canonicalizeAttribute, generateQuery, getAvailableQueryAttributes, getCaseCanonicalizationLocale, getCaseInsensitiveQueryAttributes, getCaseInsensitiveResultAttributes, getConfiguredUserNameAttribute, getDefaultCaseCanonicalizationMode, getPeopleWithMultivaluedAttributes, getPossibleUserAttributeNames, getQueryAttributeMapping, getResultAttributeMapping, getUnmappedUsernameAttribute, getUsernameCaseCanonicalizationMode, isRequireAllQueryAttributes, isUseAllQueryAttributes, isUserNameAttributeConfigured, mapPersonAttributes, setCaseCanonicalizationLocale, setCaseInsensitiveQueryAttributes, setCaseInsensitiveQueryAttributesAsCollection, setCaseInsensitiveResultAttributes, setCaseInsensitiveResultAttributesAsCollection, setDefaultCaseCanonicalizationMode, setQueryAttributeMapping, setRequireAllQueryAttributes, setResultAttributeMapping, setUnmappedUsernameAttribute, setUseAllQueryAttributes, setUsernameCaseCanonicalizationModegetPerson, getUsernameAttributeProvider, setUsernameAttributeProvider, toSeedMapgetPeople, toMultivaluedSeedcompareTo, flattenResults, getMultivaluedUserAttributes, getMultivaluedUserAttributes, getOrder, getUserAttributes, getUserAttributes, setOrderpublic void setCurrentUserProvider(ICurrentUserProvider currentUserProvider)
ICurrentUserProvider to use when determining if the
additional attributes (from the SAMLCredential) should be returned. They
will only be added if the user for whom attributes are requested is also
the current logged in user (making the request).currentUserProvider - current user providerprotected java.util.List<IPersonAttributes> getPeopleForQuery(SAMLCredentialPersonAttributeDao.QueryBuilder queryBuilder, java.lang.String queryUserName)
getPeopleForQuery in class AbstractQueryPersonAttributeDao<SAMLCredentialPersonAttributeDao.QueryBuilder>queryBuilder - The query generated by calls to AbstractQueryPersonAttributeDao.appendAttributeToQuery(Object, String, List)queryUserName - The username passed in the query map, if no username attribute existed in the query Map null is provided.protected SAMLCredentialPersonAttributeDao.QueryBuilder appendAttributeToQuery(SAMLCredentialPersonAttributeDao.QueryBuilder queryBuilder, java.lang.String dataAttribute, java.util.List<java.lang.Object> queryValues)
AbstractQueryPersonAttributeDaoappendAttributeToQuery in class AbstractQueryPersonAttributeDao<SAMLCredentialPersonAttributeDao.QueryBuilder>queryBuilder - The sub-class specific query builder objectdataAttribute - The full attribute name to appendqueryValues - The values for the data attributeCopyright © 2005-2018. All Rights Reserved.