Class AbstractOIDCClientMetadataPopulationAction
- java.lang.Object
-
- net.shibboleth.utilities.java.support.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,AddMetadataStatementToClientMetadata,AddPolicyUrisToClientMetadata,AddRedirectUrisToClientMetadata,AddRemainingClaimsToClientMetadata,AddRequestObjectSecurityConfigurationToClientMetadata,AddResponseTypesToClientMetadata,AddScopeToClientMetadata,AddSecurityConfigurationToClientMetadata,AddSubjectTypeToClientMetadata,AddTokenEndpointAuthMethodsToClientMetadata,AddTosUrisToClientMetadata
public abstract class AbstractOIDCClientMetadataPopulationAction extends net.shibboleth.idp.profile.AbstractProfileActionAbstract action for populating metadata from theClientRegistrationRequestmessage to the response message.
-
-
Field Summary
Fields Modifier and Type Field Description private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadatainputMetadataThe OIDCClientMetadata to populate metadata from.private org.slf4j.LoggerlogClass logger.private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata>oidcInputMetadataLookupStrategyStrategy used to locate theOIDCClientMetadataassociated with the request (input).private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata>oidcOutputMetadataLookupStrategyStrategy used to locate theOIDCClientMetadataassociated with the response (output).private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadataoutputMetadataThe OIDCClientMetadata to populate metadata to.
-
Constructor Summary
Constructors Constructor Description AbstractOIDCClientMetadataPopulationAction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoPreExecute(ProfileRequestContext profileRequestContext)protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadatagetInputMetadata()Get the OIDCClientMetadata to populate metadata from.protected com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadatagetOutputMetadata()Get 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, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategy
-
Methods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationCondition
-
Methods inherited from class org.opensaml.profile.action.AbstractProfileAction
doExecute, doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
oidcInputMetadataLookupStrategy
@Nonnull private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> oidcInputMetadataLookupStrategy
Strategy used to locate theOIDCClientMetadataassociated with the request (input).
-
oidcOutputMetadataLookupStrategy
@Nonnull private Function<ProfileRequestContext,com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata> oidcOutputMetadataLookupStrategy
Strategy used to locate theOIDCClientMetadataassociated with the response (output).
-
inputMetadata
@Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata inputMetadata
The OIDCClientMetadata to populate metadata from.
-
outputMetadata
@Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata outputMetadata
The OIDCClientMetadata to populate metadata to.
-
-
Method Detail
-
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
protected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
-