public class RegexBasedAxFetchListFactory extends Object implements AxFetchListFactory
Constructor and Description |
---|
RegexBasedAxFetchListFactory(Map<String,List<OpenIDAttribute>> regexMap) |
Modifier and Type | Method and Description |
---|---|
List<OpenIDAttribute> |
createAttributeList(String identifier)
Iterates through the patterns stored in the map and returns the list of attributes
defined for the first match.
|
public RegexBasedAxFetchListFactory(Map<String,List<OpenIDAttribute>> regexMap)
regexMap
- map of regular-expressions (matching the identifier) to attributes
which should be fetched for that pattern.public List<OpenIDAttribute> createAttributeList(String identifier)
createAttributeList
in interface AxFetchListFactory
identifier
- the claimed_identity