Class AddAuthenticationContextClassReferencesHandler
- java.lang.Object
-
- net.shibboleth.utilities.java.support.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 Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description AddAuthenticationContextClassReferencesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private 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, setRelyingPartyContextLookupStrategy
-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
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
-
-
-
-
Method Detail
-
doInvoke
protected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException- 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.
-
-