Class AddAttributeConsumingServiceHandler
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
org.opensaml.saml.common.binding.impl.SAMLAddAttributeConsumingServiceHandler
net.shibboleth.idp.saml.messaging.impl.AddAttributeConsumingServiceHandler
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,MessageHandler
Extension of OpenSAML handler that incorporates
BrowserSSOProfileConfiguration.getRequestedAttributes(org.opensaml.profile.context.ProfileRequestContext).- Since:
- 5.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<MessageContext,ProfileRequestContext> Lookup strategy forProfileRequestContext.Lookup strategy forRelyingPartyContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<RequestedAttribute>getRequestedAttributes(MessageContext messageContext, AuthnRequest authn) voidSet the lookup strategy for theProfileRequestContext.voidSet the lookup strategy for theRelyingPartyContext.Methods inherited from class org.opensaml.saml.common.binding.impl.SAMLAddAttributeConsumingServiceHandler
doInvoke, doPreInvoke, setIndexLookupStrategy, setMetadataContextLookupStrategyMethods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, isPreInvokeCalled, setActivationConditionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
profileRequestContextLookupStrategy
Lookup strategy forProfileRequestContext. -
relyingPartyContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategyLookup strategy forRelyingPartyContext.
-
-
Constructor Details
-
AddAttributeConsumingServiceHandler
public AddAttributeConsumingServiceHandler()Constructor.
-
-
Method Details
-
setProfileRequestContextLookupStrategy
public void setProfileRequestContextLookupStrategy(@Nonnull Function<MessageContext, ProfileRequestContext> strategy) Set the lookup strategy for theProfileRequestContext.- Parameters:
strategy- lookup strategy
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<ProfileRequestContext, RelyingPartyContext> strategy) Set the lookup strategy for theRelyingPartyContext.- Parameters:
strategy- lookup strategy
-
getRequestedAttributes
@Nullable @Unmodifiable @NotLive protected Collection<RequestedAttribute> getRequestedAttributes(@Nonnull MessageContext messageContext, @Nonnull AuthnRequest authn) - Overrides:
getRequestedAttributesin classSAMLAddAttributeConsumingServiceHandler
-