Class DeserializePushedRequest
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.AbstractOIDCRequestAction<com.nimbusds.oauth2.sdk.AuthorizationRequest>
net.shibboleth.idp.plugin.oidc.op.oauth2.profile.impl.AbstractOAuthAuthorizationRequestAction
net.shibboleth.idp.plugin.oidc.op.oauth2.profile.impl.DeserializePushedRequest
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
Attempts to deserialize the possibly existing request_uri value from the authorization request via configurable
list of pushed authorization deserializers. If any of the deserializer is successful, the extracted claims set is
stored to
OAuth2PushedAuthorizationRequestContext.- Since:
- 4.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.slf4j.LoggerClass logger.Lookup strategy for pushed authorization request context-private List<BiFunction<ProfileRequestContext,URI, Map<String, Object>>> List of deserializers for OP-issued request_uri values.private URIRequest URI to be deserialized. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidsetPushedAuthorizationRequestContextLookupStrategy(Function<ProfileRequestContext, OAuth2PushedAuthorizationRequestContext> strategy) Set the lookup strategy for pushed authorization request context.voidsetPushedAuthorizationRequestUriDeserializers(List<BiFunction<ProfileRequestContext, URI, Map<String, Object>>> deserializers) Set the list of deserializers for OP-issued request_uri values.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.oauth2.profile.impl.AbstractOAuthAuthorizationRequestAction
getAuthorizationRequestMethods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCRequestAction
getRequestMethods 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
-
log
@Nonnull private org.slf4j.Logger logClass logger. -
pushedAuthorizationRequestContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,OAuth2PushedAuthorizationRequestContext> pushedAuthorizationRequestContextLookupStrategyLookup strategy for pushed authorization request context- -
pushedAuthorizationRequestUriDeserializers
@Nonnull private List<BiFunction<ProfileRequestContext,URI, pushedAuthorizationRequestUriDeserializersMap<String, Object>>> List of deserializers for OP-issued request_uri values. -
requestUri
Request URI to be deserialized.
-
-
Constructor Details
-
DeserializePushedRequest
public DeserializePushedRequest()Constructor.
-
-
Method Details
-
setPushedAuthorizationRequestContextLookupStrategy
public void setPushedAuthorizationRequestContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OAuth2PushedAuthorizationRequestContext> strategy) Set the lookup strategy for pushed authorization request context.- Parameters:
strategy- the lookup strategy for pushed authorization request context
-
setPushedAuthorizationRequestUriDeserializers
public void setPushedAuthorizationRequestUriDeserializers(@Nonnull List<BiFunction<ProfileRequestContext, URI, Map<String, Object>>> deserializers) Set the list of deserializers for OP-issued request_uri values.- Parameters:
deserializers- What to set.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractOAuthAuthorizationRequestAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-