Class AbstractOIDCClientMetadataPopulationAction
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.AbstractOIDCClientMetadataPopulationAction
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
- Direct Known Subclasses:
AddApplicationTypeToClientMetadata,AddClientNameToClientMetadata,AddContactsToClientMetadata,AddGrantTypeToClientMetadata,AddJwksToClientMetadata,AddLogoUrisToClientMetadata,AddLogoutParametersToClientMetadata,AddMetadataStatementToClientMetadata,AddPolicyUrisToClientMetadata,AddRedirectUrisToClientMetadata,AddRemainingClaimsToClientMetadata,AddRequestObjectSecurityConfigurationToClientMetadata,AddRequestUrisToClientMetadata,AddResponseTypesToClientMetadata,AddScopeToClientMetadata,AddSecurityConfigurationToClientMetadata,AddSubjectTypeToClientMetadata,AddTokenEndpointAuthMethodsToClientMetadata,AddTosUrisToClientMetadata
Abstract action for populating metadata from the
ClientRegistrationRequest message to the response
message.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate OIDCClientMetadataThe OIDCClientMetadata to populate metadata from.private final org.slf4j.LoggerClass logger.Strategy used to locate theOIDCClientMetadataassociated with the request (input).Strategy used to locate theOIDCClientMetadataassociated with the response (output).private OIDCClientMetadataThe OIDCClientMetadata to populate metadata to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoPreExecute(ProfileRequestContext profileRequestContext) protected OIDCClientMetadataGet the OIDCClientMetadata to populate metadata from.protected OIDCClientMetadataGet the OIDCClientMetadata to populate metadata to.voidSet the strategy used to locate theOIDCClientMetadataassociated with the request (input).voidSet the strategy used to locate theOIDCClientMetadataassociated with the request (output).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
doExecute, 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. -
oidcInputMetadataLookupStrategy
Strategy used to locate theOIDCClientMetadataassociated with the request (input). -
oidcOutputMetadataLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCClientMetadata> oidcOutputMetadataLookupStrategyStrategy used to locate theOIDCClientMetadataassociated with the response (output). -
inputMetadata
The OIDCClientMetadata to populate metadata from. -
outputMetadata
The OIDCClientMetadata to populate metadata to.
-
-
Constructor Details
-
AbstractOIDCClientMetadataPopulationAction
public AbstractOIDCClientMetadataPopulationAction()Constructor.
-
-
Method Details
-
setOidcInputMetadataLookupStrategy
public void setOidcInputMetadataLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCClientMetadata> strategy) Set the strategy used to locate theOIDCClientMetadataassociated with the request (input).- Parameters:
strategy- The strategy used to locate theOIDCClientMetadataassociated with the request (input).
-
setOidcOutputMetadataLookupStrategy
public void setOidcOutputMetadataLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCClientMetadata> strategy) Set the strategy used to locate theOIDCClientMetadataassociated with the request (output).- Parameters:
strategy- The strategy used to locate theOIDCClientMetadataassociated with the request (output).
-
getInputMetadata
Get the OIDCClientMetadata to populate metadata from.- Returns:
- The OIDCClientMetadata to populate metadata from.
-
getOutputMetadata
Get the OIDCClientMetadata to populate metadata to.- Returns:
- The OIDCClientMetadata to populate metadata to.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-