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
FieldsModifier and TypeFieldDescriptionprivate final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> Strategy used to lookup theAbstractAuthenticatableOIDCContextto test.private final org.slf4j.LoggerClass logger. -
Constructor Summary
ConstructorsConstructorDescriptionRequiresSignatureVerificationPredicate(Function<org.opensaml.messaging.context.MessageContext, net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(org.opensaml.messaging.context.MessageContext msgContext) Methods inherited from class net.shibboleth.profile.context.logic.messaging.AbstractRelyingPartyPredicate
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
authenticatableOIDCContextLookupStrategy
@Nonnull private final Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.context.AbstractAuthenticatableOIDCContext> authenticatableOIDCContextLookupStrategyStrategy used to lookup theAbstractAuthenticatableOIDCContextto 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 theAbstractAuthenticatableOIDCContextto test
-
-
Method Details
-
test
public boolean test(@Nullable org.opensaml.messaging.context.MessageContext msgContext)
-