Class AuthenticationRequestTimeLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AuthenticationRequestTimeLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,Instant>
public class AuthenticationRequestTimeLookupFunction
extends Object
implements Function<ProfileRequestContext,Instant>
Lookup function that returns the time at which the RP sent the authentication request, as taken from the
authentication request object.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidsetAuthenticationRequestLookupStrategy(Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) Set the strategy used to locate theOIDCAuthenticationRequestto use.
-
Field Details
-
authenticationRequestLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCAuthenticationRequest> authenticationRequestLookupStrategyStrategy used to locate theOIDCAuthenticationRequest. Defaults to the outbound message context of the PRC.
-
-
Constructor Details
-
AuthenticationRequestTimeLookupFunction
public AuthenticationRequestTimeLookupFunction()Constructor.
-
-
Method Details
-
setAuthenticationRequestLookupStrategy
public void setAuthenticationRequestLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCAuthenticationRequest> strategy) Set the strategy used to locate theOIDCAuthenticationRequestto use.- Parameters:
strategy- lookup strategy
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Instant>
-