Class AbstractSAML2ProfileConfiguration
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
- All Implemented Interfaces:
InterceptorAwareProfileConfiguration,SAMLProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,SAMLProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
- Direct Known Subclasses:
AbstractSAML2ArtifactAwareProfileConfiguration,ArtifactResolutionProfileConfiguration
public abstract class AbstractSAML2ProfileConfiguration
extends AbstractSAMLProfileConfiguration
implements SAML2ProfileConfiguration
Base class for SAML 2 profile configurations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Predicate<ProfileRequestContext>Whether encryption is optional in the face of no key, etc.private Predicate<ProfileRequestContext>Predicate used to determine if name identifiers should be encrypted.private Predicate<ProfileRequestContext>Whether to ignore signatures in requests.Fields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEncryptionOptional(ProfileRequestContext profileRequestContext) booleanisEncryptNameIDs(ProfileRequestContext profileRequestContext) booleanisIgnoreRequestSignatures(ProfileRequestContext profileRequestContext) voidsetEncryptionOptional(boolean flag) Set whether encryption is optional in the face of a missing key, etc.voidSet a condition to determine whether encryption is optional in the face of a missing key, etc.voidsetEncryptNameIDs(boolean flag) Set whether name identifiers should be encrypted.voidsetEncryptNameIDsPredicate(Predicate<ProfileRequestContext> predicate) Set the predicate used to determine if name identifiers should be encrypted.voidsetIgnoreRequestSignatures(boolean flag) Sets whether to bypass verification of request signatures.voidSets a condition to determine whether to bypass verification of request signatures.Methods 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
-
ignoreRequestSignaturesPredicate
Whether to ignore signatures in requests. -
encryptionOptionalPredicate
Whether encryption is optional in the face of no key, etc. -
encryptNameIDsPredicate
Predicate used to determine if name identifiers should be encrypted.
-
-
Constructor Details
-
AbstractSAML2ProfileConfiguration
Constructor.- Parameters:
profileId- ID of the communication profile, never null or empty
-
-
Method Details
-
isIgnoreRequestSignatures
- Specified by:
isIgnoreRequestSignaturesin interfaceSAML2ProfileConfiguration
-
setIgnoreRequestSignatures
public void setIgnoreRequestSignatures(boolean flag) Sets whether to bypass verification of request signatures.- Parameters:
flag- flag to set- Since:
- 4.0.0
-
setIgnoreRequestSignaturesPredicate
public void setIgnoreRequestSignaturesPredicate(@Nonnull Predicate<ProfileRequestContext> condition) Sets a condition to determine whether to bypass verification of request signatures.- Parameters:
condition- condition to set- Since:
- 4.0.0
-
isEncryptionOptional
- Specified by:
isEncryptionOptionalin interfaceSAML2ProfileConfiguration
-
setEncryptionOptional
public void setEncryptionOptional(boolean flag) Set whether encryption is optional in the face of a missing key, etc.- Parameters:
flag- flag to set
-
setEncryptionOptionalPredicate
Set a condition to determine whether encryption is optional in the face of a missing key, etc.- Parameters:
condition- condition to set- Since:
- 3.3.0
-
isEncryptNameIDs
- Specified by:
isEncryptNameIDsin interfaceSAML2ProfileConfiguration
-
setEncryptNameIDs
public void setEncryptNameIDs(boolean flag) Set whether name identifiers should be encrypted.- Parameters:
flag- flag to set
-
setEncryptNameIDsPredicate
Set the predicate used to determine if name identifiers should be encrypted.- Parameters:
predicate- predicate used to determine if name identifiers should be encrypted- Since:
- 4.0.0
-