Class AttributeFilterServiceStrategy
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.filter.spring.impl.AttributeFilterServiceStrategy
- All Implemented Interfaces:
Function<ApplicationContext,ServiceableComponent<AttributeFilter>>
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
public class AttributeFilterServiceStrategy extends AbstractIdentifiableInitializableComponent implements Function<ApplicationContext,ServiceableComponent<AttributeFilter>>
Strategy for summoning up an
AttributeFilterImpl
from a populated ApplicationContext
. We do this by
finding all the configured AttributeFilterPolicy
beans and bunging them into the Attribute Filter which we
then initialize.-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
log. -
Constructor Summary
Constructors Constructor Description AttributeFilterServiceStrategy()
-
Method Summary
Modifier and Type Method Description ServiceableComponent<AttributeFilter>
apply(ApplicationContext appContext)
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Field Details
-
log
private final org.slf4j.Logger loglog.
-
-
Constructor Details
-
AttributeFilterServiceStrategy
public AttributeFilterServiceStrategy()
-
-
Method Details
-
apply
@Nullable public ServiceableComponent<AttributeFilter> apply(@Nullable ApplicationContext appContext)- Specified by:
apply
in interfaceFunction<ApplicationContext,ServiceableComponent<AttributeFilter>>
-