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 com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataThe OIDCClientMetadata to populate metadata from.private final org.slf4j.LoggerClass logger.private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> Strategy used to locate theOIDCClientMetadataassociated with the request (input).private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> Strategy used to locate theOIDCClientMetadataassociated with the response (output).private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataThe OIDCClientMetadata to populate metadata to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoPreExecute(ProfileRequestContext profileRequestContext) protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataGet the OIDCClientMetadata to populate metadata from.protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataGet the OIDCClientMetadata to populate metadata to.voidsetOidcInputMetadataLookupStrategy(Function<ProfileRequestContext, com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> strategy) Set the strategy used to locate theOIDCClientMetadataassociated with the request (input).voidsetOidcOutputMetadataLookupStrategy(Function<ProfileRequestContext, com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> strategy) Set 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
@Nonnull private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> oidcInputMetadataLookupStrategyStrategy used to locate theOIDCClientMetadataassociated with the request (input). -
oidcOutputMetadataLookupStrategy
@Nonnull private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> oidcOutputMetadataLookupStrategyStrategy used to locate theOIDCClientMetadataassociated with the response (output). -
inputMetadata
@Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata inputMetadataThe OIDCClientMetadata to populate metadata from. -
outputMetadata
@Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata outputMetadataThe OIDCClientMetadata to populate metadata to.
-
-
Constructor Details
-
AbstractOIDCClientMetadataPopulationAction
public AbstractOIDCClientMetadataPopulationAction()Constructor.
-
-
Method Details
-
setOidcInputMetadataLookupStrategy
public void setOidcInputMetadataLookupStrategy(@Nonnull Function<ProfileRequestContext, com.nimbusds.openid.connect.sdk.rp.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, com.nimbusds.openid.connect.sdk.rp.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
protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata getInputMetadata()Get the OIDCClientMetadata to populate metadata from.- Returns:
- The OIDCClientMetadata to populate metadata from.
-
getOutputMetadata
protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata getOutputMetadata()Get the OIDCClientMetadata to populate metadata to.- Returns:
- The OIDCClientMetadata to populate metadata to.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-