Class AbstractAuthenticationRequestLookupFunction<T>
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.AbstractAuthorizationRequestLookupFunction<T>
net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.AbstractAuthenticationRequestLookupFunction<T>
- Type Parameters:
T- type of lookup result to return.
- All Implemented Interfaces:
Function<ProfileRequestContext,,T> Component,DestructableComponent,InitializableComponent,ContextDataLookupFunction<ProfileRequestContext,T>
- Direct Known Subclasses:
AuthenticationRequestClaimsAuditExtractor,DefaultRequestedAcrLookupFunction,DefaultRequestedClaimsLookupFunction,DefaultRequestLoginHintLookupFunction,DefaultRequestMaxAgeLookupFunction,DefaultRequestNonceLookupFunction
@ThreadSafeAfterInit
public abstract class AbstractAuthenticationRequestLookupFunction<T>
extends AbstractAuthorizationRequestLookupFunction<T>
implements ContextDataLookupFunction<ProfileRequestContext,T>
A Abstract function extended by lookups searching fields from authentication request.
- Since:
- 4.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TdoLookup(com.nimbusds.oauth2.sdk.AuthorizationRequest authorizationRequest, com.nimbusds.oauth2.sdk.PushedAuthorizationRequest parRequest, com.nimbusds.jwt.JWT requestObject, boolean isRequestObjectFromPar) Implemented to perform the actual lookup.protected abstract TdoLookup(com.nimbusds.openid.connect.sdk.AuthenticationRequest authenticationRequest, com.nimbusds.oauth2.sdk.PushedAuthorizationRequest parRequest, com.nimbusds.jwt.JWT requestObject, boolean isRequestObjectFromPar) Implemented to perform the actual lookup.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.messaging.context.navigate.AbstractAuthorizationRequestLookupFunction
apply, checkRequestObject, setUseOnlyRequestObjectPredicateMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Constructor Details
-
AbstractAuthenticationRequestLookupFunction
public AbstractAuthenticationRequestLookupFunction()Constructor.
-
-
Method Details
-
doLookup
@Nullable protected T doLookup(@Nonnull com.nimbusds.oauth2.sdk.AuthorizationRequest authorizationRequest, @Nullable com.nimbusds.oauth2.sdk.PushedAuthorizationRequest parRequest, @Nullable com.nimbusds.jwt.JWT requestObject, boolean isRequestObjectFromPar) Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractAuthorizationRequestLookupFunction<T>- Parameters:
authorizationRequest- authorization request to perform the lookup from.parRequest- pushed authorization request if authorization request was pushed.requestObject- request object if it was part of the request.isRequestObjectFromPar- flag to indicate that the request object is built by the PAR endpoint.- Returns:
- lookup value.
-
doLookup
@Nullable protected abstract T doLookup(@Nonnull com.nimbusds.openid.connect.sdk.AuthenticationRequest authenticationRequest, @Nullable com.nimbusds.oauth2.sdk.PushedAuthorizationRequest parRequest, @Nullable com.nimbusds.jwt.JWT requestObject, boolean isRequestObjectFromPar) Implemented to perform the actual lookup.- Parameters:
authenticationRequest- authorization request to perform the lookup from.parRequest- pushed authorization request if authorization request was pushed.requestObject- request object if it was part of the request.isRequestObjectFromPar- flag to indicate that the request object is built by the PAR endpoint.- Returns:
- lookup value.
-