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

    Fields
    Modifier and Type
    Field
    Description
    private final org.slf4j.Logger
    Class logger.
    private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext>
    Strategy to find the state data context.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuthTimeRequestedActivationCondition(Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> strategy)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(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, wait

    Methods inherited from interface java.util.function.BiPredicate

    and, negate, or
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • stateDataContextLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> stateDataContextLookupStrategy
      Strategy 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:
      test in interface BiPredicate<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>