Class AuthTimeRequestedActivationCondition
java.lang.Object
net.shibboleth.sp.oidc.profile.context.logic.AuthTimeRequestedActivationCondition
- All Implemented Interfaces:
BiPredicate<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
@ThreadSafe
public final class AuthTimeRequestedActivationCondition
extends Object
implements BiPredicate<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
Has the auth_time claim been requested? This is taken from the authentication request state. Any issues finding
if the auth_time claim was request results in a true response: the claim should be checked.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> Strategy to find the state data context. -
Constructor Summary
ConstructorsConstructorDescriptionAuthTimeRequestedActivationCondition(Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.sp.context.StateDataContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(org.opensaml.profile.context.ProfileRequestContext prc, com.nimbusds.jwt.JWTClaimsSet claims) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
stateDataContextLookupStrategy
@Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> stateDataContextLookupStrategyStrategy to find the state data context.
-
-
Constructor Details
-
AuthTimeRequestedActivationCondition
public AuthTimeRequestedActivationCondition(@ParameterName(name="stateDataContextLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.sp.context.StateDataContext> strategy) Constructor.- Parameters:
strategy- strategy to find the state data context
-
-
Method Details
-
test
public boolean test(@Nullable org.opensaml.profile.context.ProfileRequestContext prc, @Nullable com.nimbusds.jwt.JWTClaimsSet claims) The claims parameter is ignored.
- Specified by:
testin interfaceBiPredicate<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
-