Class RegexBasedAxFetchListFactory
- java.lang.Object
-
- org.springframework.security.openid.RegexBasedAxFetchListFactory
-
- All Implemented Interfaces:
AxFetchListFactory
@Deprecated public class RegexBasedAxFetchListFactory extends java.lang.Object implements AxFetchListFactory
Deprecated.The OpenID 1.0 and 2.0 protocols have been deprecated and users are encouraged to migrate to OpenID Connect, which is supported byspring-security-oauth2
.- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description RegexBasedAxFetchListFactory(java.util.Map<java.lang.String,java.util.List<OpenIDAttribute>> regexMap)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<OpenIDAttribute>
createAttributeList(java.lang.String identifier)
Deprecated.Iterates through the patterns stored in the map and returns the list of attributes defined for the first match.
-
-
-
Constructor Detail
-
RegexBasedAxFetchListFactory
public RegexBasedAxFetchListFactory(java.util.Map<java.lang.String,java.util.List<OpenIDAttribute>> regexMap)
Deprecated.- Parameters:
regexMap
- map of regular-expressions (matching the identifier) to attributes which should be fetched for that pattern.
-
-
Method Detail
-
createAttributeList
public java.util.List<OpenIDAttribute> createAttributeList(java.lang.String identifier)
Deprecated.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.- Specified by:
createAttributeList
in interfaceAxFetchListFactory
- Parameters:
identifier
- the claimed_identity- Returns:
- the attributes to fetch for this identifier
-
-