Class AbstractSAML2ArtifactConsumerProfileConfiguration
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.sp.profile.config.AbstractConditionalProfileConfiguration
net.shibboleth.sp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
net.shibboleth.sp.saml.saml2.profile.config.impl.AbstractSAML2ArtifactConsumerProfileConfiguration
- All Implemented Interfaces:
ConditionalProfileConfiguration,ProfileConfiguration,SAMLArtifactConsumerProfileConfiguration,SAMLProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
- Direct Known Subclasses:
AbstractSAML2AssertionConsumerProfileConfiguration,SingleLogoutProfileConfiguration
public abstract class AbstractSAML2ArtifactConsumerProfileConfiguration
extends AbstractSAML2ProfileConfiguration
implements SAMLArtifactConsumerProfileConfiguration
Configuration support for artifact-consuming profiles.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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 TypeMethodDescriptionbooleanisClientTLSArtifactRequests(MessageContext messageContext) booleanisSignArtifactRequests(MessageContext messageContext) 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.sp.saml.saml2.profile.config.impl.AbstractSAML2ProfileConfiguration
getMessageHandler, isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignatures, isSignRequests, isSignResponses, setEncryptionOptional, setEncryptionOptionalPredicate, setEncryptNameIDs, setEncryptNameIDsPredicate, setIgnoreRequestSignatures, setIgnoreRequestSignaturesPredicate, setMessageHandler, setMessageHandlerLookupStrategy, setSignRequests, setSignRequestsPredicate, setSignResponses, setSignResponsesPredicateMethods inherited from class net.shibboleth.sp.profile.config.AbstractConditionalProfileConfiguration
setDisallowedFeaturesMethods 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.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowedMethods inherited from interface net.shibboleth.saml.profile.config.SAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses
-
Field Details
-
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
-
AbstractSAML2ArtifactConsumerProfileConfiguration
Constructor.- Parameters:
profileId- unique ID for this profile
-
-
Method Details
-
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
-
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
-