Class AddTokenEndpointAuthMethodsToClientMetadata
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
net.shibboleth.idp.plugin.oidc.op.profile.impl.AddTokenEndpointAuthMethodsToClientMetadata
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,org.springframework.beans.factory.Aware,org.springframework.context.MessageSource,org.springframework.context.MessageSourceAware,org.springframework.webflow.execution.Action
public class AddTokenEndpointAuthMethodsToClientMetadata
extends AbstractOIDCClientMetadataPopulationAction
An action that adds the token_endpoint_auth_method to the client metadata. If no method is requested, then
ClientAuthenticationMethod.getDefault() is used. It also verifies that the requested (or default)
method is enabled via the attached lookup strategy.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.Strategy to obtain enabled token endpoint authentication methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) voidsetTokenEndpointAuthMethodsLookupStrategy(Function<ProfileRequestContext, Set<ClientAuthenticationMethod>> strategy) Set strategy to obtain enabled token endpoint authentication methods.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCClientMetadataPopulationAction
doPreExecute, getInputMetadata, getOutputMetadata, setOidcInputMetadataLookupStrategy, setOidcOutputMetadataLookupStrategyMethods 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. -
tokenEndpointAuthMethodsLookupStrategy
@Nullable private Function<ProfileRequestContext,Set<ClientAuthenticationMethod>> tokenEndpointAuthMethodsLookupStrategyStrategy to obtain enabled token endpoint authentication methods.
-
-
Constructor Details
-
AddTokenEndpointAuthMethodsToClientMetadata
public AddTokenEndpointAuthMethodsToClientMetadata()Constructor.
-
-
Method Details
-
setTokenEndpointAuthMethodsLookupStrategy
public void setTokenEndpointAuthMethodsLookupStrategy(@Nonnull Function<ProfileRequestContext, Set<ClientAuthenticationMethod>> strategy) Set strategy to obtain enabled token endpoint authentication methods.- Parameters:
strategy- What to set.
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-