public class

RegexBasedAxFetchListFactory

extends Object
implements AxFetchListFactory
java.lang.Object
   ↳ org.springframework.security.openid.RegexBasedAxFetchListFactory

Summary

Public Constructors
RegexBasedAxFetchListFactory(Map<StringList<OpenIDAttribute>> regexMap)
Public Methods
List<OpenIDAttribute> createAttributeList(String identifier)
Iterates through the patterns stored in the map and returns the list of attributes defined for the first match.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.security.openid.AxFetchListFactory

Public Constructors

public RegexBasedAxFetchListFactory (Map<StringList<OpenIDAttribute>> regexMap)

Parameters
regexMap map of regular-expressions (matching the identifier) to attributes which should be fetched for that pattern.

Public Methods

public List<OpenIDAttribute> createAttributeList (String identifier)

Iterates through the patterns stored in the map and returns the list of attributes defined for the first match. If no match is found, returns an empty list.

Parameters
identifier the claimed_identity
Returns
  • the attributes to fetch for this identifier