Class AbstractSAML2ArtifactAwareProfileConfiguration
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
net.shibboleth.idp.saml.profile.config.AbstractSAMLProfileConfiguration
net.shibboleth.idp.saml.saml2.profile.config.AbstractSAML2ProfileConfiguration
net.shibboleth.idp.saml.saml2.profile.config.AbstractSAML2ArtifactAwareProfileConfiguration
- All Implemented Interfaces:
ConditionalProfileConfiguration,ProfileConfiguration,SAMLArtifactAwareProfileConfiguration,SAMLArtifactConsumerProfileConfiguration,SAMLProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
- Direct Known Subclasses:
AttributeQueryProfileConfiguration,BrowserSSOProfileConfiguration,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 class net.shibboleth.idp.saml.profile.config.AbstractSAMLProfileConfiguration
DEFAULT_ASSERTION_LIFETIMEFields inherited from class net.shibboleth.idp.profile.config.AbstractProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptiongetArtifactConfiguration(ProfileRequestContext profileRequestContext) Get the associatedSAMLArtifactConfigurationfor the profile, if any.booleanisClientTLSArtifactRequests(MessageContext messageContext) Get whether artifact resolution requests should use client TLS.booleanisSignArtifactRequests(MessageContext messageContext) Get whether artifact resolution requests should be signed.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.AbstractSAML2ProfileConfiguration
getProxyAudiences, getProxyCount, isEncryptAssertions, isEncryptAttributes, isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignatures, setEncryptAssertions, setEncryptAssertionsPredicate, setEncryptAttributes, setEncryptAttributesPredicate, setEncryptionOptional, setEncryptionOptionalPredicate, setEncryptNameIDs, setEncryptNameIDsPredicate, setIgnoreRequestSignatures, setIgnoreRequestSignaturesPredicate, setProxyAudiences, setProxyAudiencesLookupStrategy, setProxyCount, setProxyCountLookupStrategyMethods inherited from class net.shibboleth.idp.saml.profile.config.AbstractSAMLProfileConfiguration
getAdditionalAudiencesForAssertion, getAssertionLifetime, isIncludeConditionsNotBefore, isSignAssertions, isSignRequests, isSignResponses, setAdditionalAudiencesForAssertion, setAdditionalAudiencesForAssertionLookupStrategy, setAssertionLifetime, setAssertionLifetimeLookupStrategy, setIncludeConditionsNotBefore, setIncludeConditionsNotBeforePredicate, setSignAssertions, setSignAssertionsPredicate, setSignRequests, setSignRequestsPredicate, setSignResponses, setSignResponsesPredicateMethods inherited from class net.shibboleth.idp.profile.config.AbstractConditionalProfileConfiguration
getActivationCondition, setActivationConditionMethods 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, setSecurityConfigurationLookupStrategyMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
doInitialize, getIdMethods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
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.utilities.java.support.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.profile.config.ProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfigurationMethods inherited from interface net.shibboleth.idp.saml.profile.config.SAMLProfileConfiguration
getAdditionalAudiencesForAssertion, getAssertionLifetime, isIncludeConditionsNotBefore, isSignAssertions, 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) Get the associatedSAMLArtifactConfigurationfor the profile, if any.- Specified by:
getArtifactConfigurationin interfaceSAMLArtifactAwareProfileConfiguration- Parameters:
profileRequestContext- current profile request context- Returns:
- an associated artifact configuration, or null
-
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
Get whether artifact resolution requests should be signed.- Specified by:
isSignArtifactRequestsin interfaceSAMLArtifactConsumerProfileConfiguration- Parameters:
messageContext- current message context- Returns:
- whether artifact resolution requests should be signed
-
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
Get whether artifact resolution requests should use client TLS.- Specified by:
isClientTLSArtifactRequestsin interfaceSAMLArtifactConsumerProfileConfiguration- Parameters:
messageContext- current message context- Returns:
- whether artifact resolution requests should use client TLS
-
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
-