Class SetTokenDeliveryAttributesFromTokenToResponseContext
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCResponseAction
net.shibboleth.idp.plugin.oidc.op.profile.impl.SetTokenDeliveryAttributesFromTokenToResponseContext
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
public class SetTokenDeliveryAttributesFromTokenToResponseContext
extends AbstractOIDCResponseAction
Action that locates any token delivery claims from authorization code / access token. For located claims
OIDCAuthenticationResponseTokenClaimsContext is created under OIDCAuthenticationResponseContext and
the claims are placed there. Token and user info endpoints use the context for forming response.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,ClaimsSet> Strategy used to obtain the delivery claims.private Function<ProfileRequestContext,ClaimsSet> Strategy used to obtain the id token delivery claims.private Function<ProfileRequestContext,ClaimsSet> Strategy used to obtain the user info delivery claims. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) voidSet the strategy used to locate the delivery claims.voidSet the strategy used to locate the id token delivery claims.voidSet the strategy used to locate the user info delivery claims.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCResponseAction
doPreExecute, getMetadataContext, getOidcResponseContextMethods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods 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
-
deliveryClaimsLookupStrategy
Strategy used to obtain the delivery claims. -
idTokenDeliveryClaimsLookupStrategy
Strategy used to obtain the id token delivery claims. -
userinfoDeliveryClaimsLookupStrategy
Strategy used to obtain the user info delivery claims.
-
-
Constructor Details
-
SetTokenDeliveryAttributesFromTokenToResponseContext
public SetTokenDeliveryAttributesFromTokenToResponseContext()Constructor.
-
-
Method Details
-
setDeliveryClaimsLookupStrategy
public void setDeliveryClaimsLookupStrategy(@Nonnull Function<ProfileRequestContext, ClaimsSet> strategy) Set the strategy used to locate the delivery claims.- Parameters:
strategy- lookup strategy
-
setIDTokenDeliveryClaimsLookupStrategy
public void setIDTokenDeliveryClaimsLookupStrategy(@Nullable Function<ProfileRequestContext, ClaimsSet> strategy) Set the strategy used to locate the id token delivery claims.- Parameters:
strategy- lookup strategy
-
setUserinfoDeliveryClaimsLookupStrategy
public void setUserinfoDeliveryClaimsLookupStrategy(@Nullable Function<ProfileRequestContext, ClaimsSet> strategy) Set the strategy used to locate the user info delivery claims.- Parameters:
strategy- lookup strategy
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-