Class AbstractConditionalProfileConfiguration
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.profile.config.AbstractProfileConfiguration
net.shibboleth.idp.profile.config.AbstractConditionalProfileConfiguration
- All Implemented Interfaces:
ConditionalProfileConfiguration
,ProfileConfiguration
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
- Direct Known Subclasses:
AbstractProtocolConfiguration
,AbstractSAMLProfileConfiguration
public abstract class AbstractConditionalProfileConfiguration
extends AbstractProfileConfiguration
implements ConditionalProfileConfiguration
Base class for
ConditionalProfileConfiguration
implementations.- Since:
- 3.4.0
-
Field Summary
FieldsFields inherited from class net.shibboleth.idp.profile.config.AbstractProfileConfiguration
DEFAULT_DISALLOWED_FEATURES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the condition controlling enablement of this profile.void
setActivationCondition
(Predicate<ProfileRequestContext> condition) Set an activation condition to control this profile.Methods inherited from class net.shibboleth.idp.profile.config.AbstractProfileConfiguration
equals, getDisallowedFeatures, getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration, hashCode, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setInboundFlowsLookupStrategy, setInboundInterceptorFlows, setInboundInterceptorFlowsLookupStrategy, setOutboundFlowsLookupStrategy, setOutboundInterceptorFlows, setOutboundInterceptorFlowsLookupStrategy, setSecurityConfiguration, setSecurityConfigurationLookupStrategy
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
Methods inherited from interface net.shibboleth.idp.profile.config.ProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration
-
Field Details
-
activationCondition
Activation condition.
-
-
Constructor Details
-
AbstractConditionalProfileConfiguration
public AbstractConditionalProfileConfiguration(@Nonnull @NotEmpty @ParameterName(name="id") String id) Constructor.- Parameters:
id
- ID of the communication profile, never null or empty
-
-
Method Details
-
getActivationCondition
Get the condition controlling enablement of this profile.- Specified by:
getActivationCondition
in interfaceConditionalProfileConfiguration
- Returns:
- condition controlling enablement of this profile
-
setActivationCondition
Set an activation condition to control this profile.- Parameters:
condition
- condition to apply
-