Class ScriptedMappingStrategy
java.lang.Object
net.shibboleth.idp.attribute.resolver.dc.scripted.impl.ScriptedMappingStrategy
- All Implemented Interfaces:
MappingStrategy<Map<String,IdPAttribute>>
public class ScriptedMappingStrategy
extends Object
implements MappingStrategy<Map<String,IdPAttribute>>
A null mapping strategy for the
ScriptedDataConnector.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(Map<String, IdPAttribute> results) Maps the given results to a collection ofIdPAttributeindexed by the attribute's ID.
-
Constructor Details
-
ScriptedMappingStrategy
public ScriptedMappingStrategy()
-
-
Method Details
-
map
public Map<String,IdPAttribute> map(@Nonnull Map<String, IdPAttribute> results) throws ResolutionExceptionMaps the given results to a collection ofIdPAttributeindexed by the attribute's ID.- Specified by:
mapin interfaceMappingStrategy<Map<String,IdPAttribute>> - 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
-