Class AddAuthenticationContextClassReferencesHandler
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AbstractOIDCAuthenticationRequestActionMessageHandler
net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AddAuthenticationContextClassReferencesHandler
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,MessageHandler
public class AddAuthenticationContextClassReferencesHandler
extends AbstractOIDCAuthenticationRequestActionMessageHandler
A message handler that adds any authentication context class references from the those derived from the
profile config - which may be proxied and mapped from the original request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<com.nimbusds.openid.connect.sdk.claims.ACR>buildRequestedAuthnContext(ProfileRequestContext profileRequestContext) Build a list ofACRs if warranted.protected voiddoInvoke(MessageContext messageContext) Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.messaging.impl.AbstractOIDCAuthenticationRequestActionMessageHandler
adapt, adapt, doPreInvoke, getAuthenticationRequest, getHttpServletRequest, getHttpServletRequestSupplier, getProfileConfiguration, getProviderMetadata, lookupProfileRequestContext, setHttpServletRequestSupplier, setProviderMetadataLookupStrategy, setRelyingPartyContextLookupStrategyMethods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, isPreInvokeCalled, setActivationConditionMethods 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.
-
-
Constructor Details
-
AddAuthenticationContextClassReferencesHandler
public AddAuthenticationContextClassReferencesHandler()
-
-
Method Details
-
doInvoke
- Specified by:
doInvokein classAbstractMessageHandler- Throws:
MessageHandlerException
-
buildRequestedAuthnContext
@Nullable private List<com.nimbusds.openid.connect.sdk.claims.ACR> buildRequestedAuthnContext(@Nullable ProfileRequestContext profileRequestContext) Build a list ofACRs if warranted. Converted from any default authentication methodPrincipals.By default for this proxy case, the authentication methods are mapped from the upstream request by the default authentication methods e.g. using the
ProxyAwareDefaultOIDCAuthenticationContextClassRequestLookupFunction.- Parameters:
profileRequestContext- current profile request context- Returns:
- the list of ACRs.
-