Class BuildClientInformation
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.BuildClientInformation
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
An action that uses the information from
OIDCClientRegistrationResponseContext attached to the message
context for creating a new ClientInformationResponse. It will be set as the outbound message.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private MessageContextTheMessageContextto operate on.TheOIDCClientRegistrationResponseContextto operate on.Strategy used to locate theOIDCClientRegistrationResponseContextassociated with a givenMessageContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidsetOidcResponseContextLookupStrategy(Function<MessageContext, OIDCClientRegistrationResponseContext> strategy) Set the strategy used to locate theOIDCClientRegistrationResponseContextassociated with a givenMessageContext.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. -
oidcResponseContextLookupStrategy
@Nonnull private Function<MessageContext,OIDCClientRegistrationResponseContext> oidcResponseContextLookupStrategyStrategy used to locate theOIDCClientRegistrationResponseContextassociated with a givenMessageContext. -
messageContext
TheMessageContextto operate on. -
oidcResponseContext
TheOIDCClientRegistrationResponseContextto operate on.
-
-
Constructor Details
-
BuildClientInformation
public BuildClientInformation()Constructor.
-
-
Method Details
-
setOidcResponseContextLookupStrategy
public void setOidcResponseContextLookupStrategy(@Nonnull Function<MessageContext, OIDCClientRegistrationResponseContext> strategy) Set the strategy used to locate theOIDCClientRegistrationResponseContextassociated with a givenMessageContext.- Parameters:
strategy- strategy used to locate theOIDCClientRegistrationResponseContextassociated with a givenMessageContext
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-