Class InitializeOutboundAuthorizationRequestMessageContext
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.authn.oidc.rp.impl.InitializeOutboundAuthorizationRequestMessageContext
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
Initialize an outbound message context with an OIDC peer entity context ready for an authorization/authentication
request to be built.
- Event:
EventIds.PROCEED_EVENT_ID- Postcondition:
- ProfileRequestContext.getOutboundMessageContext(msgCtx != null
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.Strategy function to lookup theOIDCMetadataContextthat represents this client during communication with the given OIDC peer.private OIDCPeerEntityContextTheOIDCPeerEntityContextto base the outbound context on.Strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidsetOIDCClientMetadataContextLookupStrategy(Function<ProfileRequestContext, OIDCMetadataContext> strgy) Set the strategy to lookup theOIDCMetadataContextfrom theProfileRequestContext.voidSet the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.Methods 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 final org.slf4j.Logger logClass logger. -
peerEntityCtx
TheOIDCPeerEntityContextto base the outbound context on. -
oidcClientMetadataCtxLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCMetadataContext> oidcClientMetadataCtxLookupStrategyStrategy function to lookup theOIDCMetadataContextthat represents this client during communication with the given OIDC peer. -
relyingPartyCtxLookupStrategy
Strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.
-
-
Constructor Details
-
InitializeOutboundAuthorizationRequestMessageContext
public InitializeOutboundAuthorizationRequestMessageContext()Constructor.
-
-
Method Details
-
setOIDCClientMetadataContextLookupStrategy
public void setOIDCClientMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCMetadataContext> strgy) Set the strategy to lookup theOIDCMetadataContextfrom theProfileRequestContext.- Parameters:
strgy- What to set.
-
setRelyingPartyContextLookupStrategy
public void setRelyingPartyContextLookupStrategy(@Nonnull Function<ProfileRequestContext, RelyingPartyContext> strategy) Set the strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext.- Parameters:
strategy- strategy used to locate theRelyingPartyContextassociated with a givenProfileRequestContext
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-