Class RequiresSignatureVerificationPredicate
- java.lang.Object
-
- net.shibboleth.idp.profile.logic.messaging.AbstractRelyingPartyPredicate
-
- net.shibboleth.idp.plugin.authn.oidc.rp.messaging.context.logic.RequiresSignatureVerificationPredicate
-
- All Implemented Interfaces:
Predicate<MessageContext>,Predicate<MessageContext>
public class RequiresSignatureVerificationPredicate extends 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 Function<MessageContext,AbstractAuthenticatableOIDCContext>authenticatableOIDCContextLookupStrategyStrategy used to lookup theAbstractAuthenticatableOIDCContextto test.private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description RequiresSignatureVerificationPredicate(Function<MessageContext,AbstractAuthenticatableOIDCContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(MessageContext msgContext)-
Methods inherited from class net.shibboleth.idp.profile.logic.messaging.AbstractRelyingPartyPredicate
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
authenticatableOIDCContextLookupStrategy
@Nonnull private final Function<MessageContext,AbstractAuthenticatableOIDCContext> authenticatableOIDCContextLookupStrategy
Strategy used to lookup theAbstractAuthenticatableOIDCContextto test.
-
-
Constructor Detail
-
RequiresSignatureVerificationPredicate
public RequiresSignatureVerificationPredicate(@Nonnull @ParameterName(name="authenticatableOIDCContextLookupStrategy") Function<MessageContext,AbstractAuthenticatableOIDCContext> strategy)
Constructor.- Parameters:
strategy- the strategy used to locate theAbstractAuthenticatableOIDCContextto test
-
-
Method Detail
-
test
public boolean test(@Nonnull MessageContext msgContext)
-
-