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