Class ArtifactResolutionProfileConfiguration
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.ArtifactResolutionProfileConfiguration
- All Implemented Interfaces:
InterceptorAwareProfileConfiguration,SAMLProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,SAMLProfileConfiguration,ArtifactResolutionProfileConfiguration,SAML2ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class ArtifactResolutionProfileConfiguration
extends AbstractSAML2ProfileConfiguration
implements ArtifactResolutionProfileConfiguration
Configuration support for IdP SAML 2.0 artifact resolution profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Predicate<ProfileRequestContext>Predicate used to determine if assertions should be encrypted.private Predicate<ProfileRequestContext>Predicate used to determine if attributes should be encrypted.static final StringName of profile counter.private Predicate<ProfileRequestContext>Predicate used to determine whether to sign assertions.Fields inherited from interface net.shibboleth.saml.saml2.profile.config.ArtifactResolutionProfileConfiguration
PROFILE_IDFields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor.protectedArtifactResolutionProfileConfiguration(String profileId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEncryptAssertions(ProfileRequestContext profileRequestContext) booleanisEncryptAttributes(ProfileRequestContext profileRequestContext) booleanisSignAssertions(ProfileRequestContext profileRequestContext) voidsetEncryptAssertions(boolean flag) Set whether assertions should be encrypted.voidSet the predicate used to determine if assertions should be encrypted.voidsetEncryptAttributes(boolean flag) Set whether attributes should be encrypted.voidSet the predicate used to determine if attributes should be encrypted.voidsetSignAssertions(boolean flag) Set whether generated assertions should be signed.voidsetSignAssertionsPredicate(Predicate<ProfileRequestContext> predicate) Set the predicate used to determine if generated assertions 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.saml2.profile.config.SAML2ProfileConfiguration
isEncryptionOptional, isEncryptNameIDs, isIgnoreRequestSignaturesMethods inherited from interface net.shibboleth.saml.profile.config.SAMLProfileConfiguration
getMessageHandler, isSignRequests, isSignResponses
-
Field Details
-
PROFILE_COUNTER
Name of profile counter.- See Also:
-
signAssertionsPredicate
Predicate used to determine whether to sign assertions. -
encryptAssertionsPredicate
Predicate used to determine if assertions should be encrypted. -
encryptAttributesPredicate
Predicate used to determine if attributes should be encrypted.
-
-
Constructor Details
-
ArtifactResolutionProfileConfiguration
public ArtifactResolutionProfileConfiguration()Constructor. -
ArtifactResolutionProfileConfiguration
Constructor.- Parameters:
profileId- unique ID for this profile
-
-
Method Details
-
isSignAssertions
- Specified by:
isSignAssertionsin interfaceArtifactResolutionProfileConfiguration
-
setSignAssertions
public void setSignAssertions(boolean flag) Set whether generated assertions should be signed.- Parameters:
flag- flag to set
-
setSignAssertionsPredicate
Set the predicate used to determine if generated assertions should be signed.- Parameters:
predicate- predicate used to determine if generated assertions should be signed
-
isEncryptAssertions
- Specified by:
isEncryptAssertionsin interfaceArtifactResolutionProfileConfiguration
-
setEncryptAssertions
public void setEncryptAssertions(boolean flag) Set whether assertions should be encrypted.- Parameters:
flag- flag to set
-
setEncryptAssertionsPredicate
Set the predicate used to determine if assertions should be encrypted.- Parameters:
predicate- predicate used to determine if assertions should be encrypted
-
isEncryptAttributes
- Specified by:
isEncryptAttributesin interfaceArtifactResolutionProfileConfiguration
-
setEncryptAttributes
public void setEncryptAttributes(boolean flag) Set whether attributes should be encrypted.- Parameters:
flag- flag to set
-
setEncryptAttributesPredicate
Set the predicate used to determine if attributes should be encrypted.- Parameters:
predicate- predicate used to determine if attributes should be encrypted
-