Class RequiresSignatureVerificationPredicate

java.lang.Object
net.shibboleth.profile.context.logic.messaging.AbstractRelyingPartyPredicate
net.shibboleth.sp.oidc.messaging.context.logic.RequiresSignatureVerificationPredicate
All Implemented Interfaces:
Predicate<org.opensaml.messaging.context.MessageContext>

public class RequiresSignatureVerificationPredicate extends net.shibboleth.profile.context.logic.messaging.AbstractRelyingPartyPredicate
Is successful TLS credential verification enough to validate the JWT in question or should JWT signature validation be applied? Defaults to true — signature verification is required.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext>
    Strategy used to lookup the AbstractAuthenticatableOIDCContext to test.
    private final org.slf4j.Logger
    Class logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RequiresSignatureVerificationPredicate(Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> strategy)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(org.opensaml.messaging.context.MessageContext msgContext)
     

    Methods inherited from class net.shibboleth.profile.context.logic.messaging.AbstractRelyingPartyPredicate

    getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy

    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.Predicate

    and, negate, or
  • Field Details

    • log

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

      @Nonnull private final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> authenticatableOIDCContextLookupStrategy
      Strategy used to lookup the AbstractAuthenticatableOIDCContext to test.
  • Constructor Details

    • RequiresSignatureVerificationPredicate

      public RequiresSignatureVerificationPredicate(@Nonnull @ParameterName(name="authenticatableOIDCContextLookupStrategy") Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> strategy)
      Constructor.
      Parameters:
      strategy - the strategy used to locate the AbstractAuthenticatableOIDCContext to test
  • Method Details

    • test

      public boolean test(@Nullable org.opensaml.messaging.context.MessageContext msgContext)