Class AbstractSAML2ArtifactAwareProfileConfiguration
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.profile.config.AbstractProfileConfiguration
net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
net.shibboleth.idp.saml.profile.config.impl.AbstractSAMLProfileConfiguration
net.shibboleth.idp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
net.shibboleth.idp.saml.saml2.profile.config.impl.AbstractSAML2ArtifactAwareProfileConfiguration
- All Implemented Interfaces:
InterceptorAwareProfileConfiguration,SAMLProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,SAMLArtifactAwareProfileConfiguration,SAMLArtifactConsumerProfileConfiguration,SAMLProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
- Direct Known Subclasses:
AbstractSAML2AssertionProducingProfileConfiguration,SingleLogoutProfileConfiguration
public abstract class AbstractSAML2ArtifactAwareProfileConfiguration
extends AbstractSAML2ProfileConfiguration
implements SAMLArtifactAwareProfileConfiguration, SAMLArtifactConsumerProfileConfiguration
Configuration support for artifact-aware profiles.
- Since:
- 3.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionLookup function to supply artifactConfiguration property.private Predicate<MessageContext>Predicate used to determine if artifact resolution requests should use client TLS.private Predicate<MessageContext>Predicate used to determine if artifact resolution requests should be signed.Fields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptiongetArtifactConfiguration(ProfileRequestContext profileRequestContext) booleanisClientTLSArtifactRequests(MessageContext messageContext) booleanisSignArtifactRequests(MessageContext messageContext) voidSet the SAML artifact configuration, if any.voidsetArtifactConfigurationLookupStrategy(Function<ProfileRequestContext, SAMLArtifactConfiguration> strategy) Set a lookup strategy for the SAML artifact configuration.voidsetClientTLSArtifactRequests(boolean flag) Set whether artifact resolution requests should use client TLS.voidSet the predicate used to determine if artifact resolution requests should use client TLS.voidsetSignArtifactRequests(boolean flag) Set whether artifact resolution requests should be signed.voidsetSignArtifactRequestsPredicate(Predicate<MessageContext> predicate) Set the predicate used to determine if artifact resolution requests should be signed.Methods inherited from class net.shibboleth.idp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignatures, setEncryptionOptional, setEncryptionOptionalPredicate, setEncryptNameIDs, setEncryptNameIDsPredicate, setIgnoreRequestSignatures, setIgnoreRequestSignaturesPredicateMethods inherited from class net.shibboleth.idp.saml.profile.config.impl.AbstractSAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses, setMessageDecorator, setMessageHandler, setMessageHandlerLookupStrategy, setSignRequests, setSignRequestsPredicate, setSignResponses, setSignResponsesPredicateMethods inherited from class net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, setInboundInterceptorFlows, setInboundInterceptorFlowsLookupStrategy, setOutboundInterceptorFlows, setOutboundInterceptorFlowsLookupStrategyMethods inherited from class net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
getActivationCondition, setActivationConditionMethods inherited from class net.shibboleth.profile.config.AbstractProfileConfiguration
equals, getDisallowedFeatures, getSecurityConfiguration, hashCode, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setSecurityConfiguration, setSecurityConfigurationLookupStrategyMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.profile.config.InterceptorAwareProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlowsMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowedMethods inherited from interface net.shibboleth.saml.profile.config.SAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses
-
Field Details
-
artifactConfigurationLookupStrategy
@Nonnull private Function<ProfileRequestContext,SAMLArtifactConfiguration> artifactConfigurationLookupStrategyLookup function to supply artifactConfiguration property. -
signArtifactRequestsPredicate
Predicate used to determine if artifact resolution requests should be signed. -
clientTLSArtifactRequestsPredicate
Predicate used to determine if artifact resolution requests should use client TLS.
-
-
Constructor Details
-
AbstractSAML2ArtifactAwareProfileConfiguration
Constructor.- Parameters:
profileId- unique ID for this profile
-
-
Method Details
-
getArtifactConfiguration
@Nullable public SAMLArtifactConfiguration getArtifactConfiguration(@Nullable ProfileRequestContext profileRequestContext) - Specified by:
getArtifactConfigurationin interfaceSAMLArtifactAwareProfileConfiguration
-
setArtifactConfiguration
Set the SAML artifact configuration, if any.- Parameters:
config- configuration to set
-
setArtifactConfigurationLookupStrategy
public void setArtifactConfigurationLookupStrategy(@Nonnull Function<ProfileRequestContext, SAMLArtifactConfiguration> strategy) Set a lookup strategy for the SAML artifact configuration.- Parameters:
strategy- lookup strategy- Since:
- 3.3.0
-
isSignArtifactRequests
- Specified by:
isSignArtifactRequestsin interfaceSAMLArtifactConsumerProfileConfiguration
-
setSignArtifactRequests
public void setSignArtifactRequests(boolean flag) Set whether artifact resolution requests should be signed.- Parameters:
flag- flag to set
-
setSignArtifactRequestsPredicate
Set the predicate used to determine if artifact resolution requests should be signed.- Parameters:
predicate- the predicate- Since:
- 4.0.0
-
isClientTLSArtifactRequests
- Specified by:
isClientTLSArtifactRequestsin interfaceSAMLArtifactConsumerProfileConfiguration
-
setClientTLSArtifactRequests
public void setClientTLSArtifactRequests(boolean flag) Set whether artifact resolution requests should use client TLS.- Parameters:
flag- flag to set
-
setClientTLSArtifactRequestsPredicate
Set the predicate used to determine if artifact resolution requests should use client TLS.- Parameters:
predicate- the predicate- Since:
- 4.0.0
-