Class StringAttributeValueMappingStrategy
- java.lang.Object
-
- net.shibboleth.idp.attribute.resolver.dc.AbstractMappingStrategy<SearchResult>
-
- net.shibboleth.idp.attribute.resolver.dc.ldap.StringAttributeValueMappingStrategy
-
- All Implemented Interfaces:
SearchResultMappingStrategy,MappingStrategy<SearchResult>
- Direct Known Subclasses:
StringAttributeValueMappingStrategy
public class StringAttributeValueMappingStrategy extends AbstractMappingStrategy<SearchResult> implements SearchResultMappingStrategy
A simpleSearchResultMappingStrategythat iterates over all result entries and includes all attribute values as strings.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description StringAttributeValueMappingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,IdPAttribute>map(SearchResult results)Maps the given results to a collection ofIdPAttributeindexed by the attribute's ID.-
Methods inherited from class net.shibboleth.idp.attribute.resolver.dc.AbstractMappingStrategy
getResultRenamingMap, isMultipleResultsAnError, isNoResultAnError, setMultipleResultsAnError, setNoResultAnError, setResultRenamingMap
-
-
-
-
Method Detail
-
map
@Nullable public Map<String,IdPAttribute> map(@Nonnull SearchResult results) throws ResolutionException
Maps the given results to a collection ofIdPAttributeindexed by the attribute's ID.- Specified by:
mapin interfaceMappingStrategy<SearchResult>- Parameters:
results- to map- Returns:
- the mapped attributes or null if none exist
- Throws:
ResolutionException- thrown if there is a problem reading data or mapping it
-
-