Class ListConfigurationLookupStrategy<T>
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.idp.saml.profile.config.AbstractMetadataDrivenConfigurationLookupStrategy<T2>
net.shibboleth.idp.saml.profile.config.AbstractCollectionConfigurationLookupStrategy<T,List<T>>
net.shibboleth.idp.saml.profile.config.ListConfigurationLookupStrategy<T>
- Type Parameters:
T
- type of object in list
- All Implemented Interfaces:
Function<BaseContext,List<T>>
,Component
,DestructableComponent
,InitializableComponent
public class ListConfigurationLookupStrategy<T> extends AbstractCollectionConfigurationLookupStrategy<T,List<T>>
A strategy function that examines SAML metadata associated with a relying party and derives List<String>-valued
configuration settings based on EntityAttribute extension tags.
- Since:
- 3.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.saml.profile.config.AbstractMetadataDrivenConfigurationLookupStrategy
AbstractMetadataDrivenConfigurationLookupStrategy.CachedConfigurationContext
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Class logger. -
Constructor Summary
Constructors Constructor Description ListConfigurationLookupStrategy()
-
Method Summary
Modifier and Type Method Description protected List<T>
doTranslate(IdPAttribute tag)
Translate the value(s) into a setting of the appropriate type.protected List<T>
doTranslate(Attribute tag)
Translate the value(s) into a setting of the appropriate type.Methods inherited from class net.shibboleth.idp.saml.profile.config.AbstractCollectionConfigurationLookupStrategy
createInstanceFromString, doInitialize, getPropertyType, setPropertyType, xmlObjectToString
Methods inherited from class net.shibboleth.idp.saml.profile.config.AbstractMetadataDrivenConfigurationLookupStrategy
apply, setDefaultValue, setDefaultValueStrategy, setEnableCaching, setIgnoreUnmappedEntityAttributes, setMetadataLookupStrategy, setProfileAliases, setProfileIdLookupStrategy, setPropertyName, setStrictNameFormat
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
ListConfigurationLookupStrategy
public ListConfigurationLookupStrategy()
-
-
Method Details
-
doTranslate
Translate the value(s) into a setting of the appropriate type.Overrides of this function can assume a non-zero collection of values.
- Specified by:
doTranslate
in classAbstractMetadataDrivenConfigurationLookupStrategy<List<T>>
- Parameters:
tag
- tag to translate- Returns:
- the setting derived from the tag's value(s)
-
doTranslate
Translate the value(s) into a setting of the appropriate type.Overrides of this function can assume a non-zero collection of values.
- Specified by:
doTranslate
in classAbstractMetadataDrivenConfigurationLookupStrategy<List<T>>
- Parameters:
tag
- tag to translate- Returns:
- the setting derived from the tag's value(s)
-