Class AddSecurityConfigurationToClientMetadata
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.AddSecurityConfigurationToClientMetadata
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
public class AddSecurityConfigurationToClientMetadata
extends AbstractOIDCClientMetadataPopulationAction
Verifies and adds the security configuration details (*_response_alg and *_response_enc) to the client metadata.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,List<String>> Strategy to obtain list of supported data encryption algorithms.private Function<ProfileRequestContext,List<String>> Strategy to obtain list of supported key transport encryption algorithms.private final org.slf4j.LoggerClass logger.private Function<ProfileRequestContext,List<String>> Strategy to obtain list of supported signature algorithms.List of supported key transport algorithms obtained from the security configuration.List of supported data encryption algorithms obtained from the security configuration.List of supported signing algorithms obtained from the security configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidSet the strategy used to obtain list of supported signature algorithms.voidSet the strategy used to obtain list of supported signature algorithms.voidSet the strategy used to obtain list of supported signature algorithms.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCClientMetadataPopulationAction
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. -
signatureAlgorithmsLookupStrategy
Strategy to obtain list of supported signature algorithms. -
dataEncryptionAlgorithmsLookupStrategy
@Nonnull private Function<ProfileRequestContext,List<String>> dataEncryptionAlgorithmsLookupStrategyStrategy to obtain list of supported data encryption algorithms. -
keyTransportEncryptionAlgorithmsLookupStrategy
@Nonnull private Function<ProfileRequestContext,List<String>> keyTransportEncryptionAlgorithmsLookupStrategyStrategy to obtain list of supported key transport encryption algorithms. -
supportedSigningAlgs
List of supported signing algorithms obtained from the security configuration. -
supportedEncryptionEncs
List of supported data encryption algorithms obtained from the security configuration. -
supportedEncryptionAlgs
List of supported key transport algorithms obtained from the security configuration.
-
-
Constructor Details
-
AddSecurityConfigurationToClientMetadata
public AddSecurityConfigurationToClientMetadata()Constructor.
-
-
Method Details
-
setSignatureAlgorithmsLookupStrategy
public void setSignatureAlgorithmsLookupStrategy(@Nonnull Function<ProfileRequestContext, List<String>> strategy) Set the strategy used to obtain list of supported signature algorithms.- Parameters:
strategy- What to set.
-
setDataEncryptionAlgorithmsLookupStrategy
public void setDataEncryptionAlgorithmsLookupStrategy(@Nonnull Function<ProfileRequestContext, List<String>> strategy) Set the strategy used to obtain list of supported signature algorithms.- Parameters:
strategy- What to set.
-
setKeyTransportAlgorithmsLookupStrategy
public void setKeyTransportAlgorithmsLookupStrategy(@Nonnull Function<ProfileRequestContext, List<String>> strategy) Set the strategy used to obtain list of supported signature algorithms.- Parameters:
strategy- What to set.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractOIDCClientMetadataPopulationAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-