Class ForcedAuthenticationActivationCondition
- java.lang.Object
-
- net.shibboleth.oidc.security.jwt.claims.impl.ForcedAuthenticationActivationCondition
-
- All Implemented Interfaces:
BiPredicate<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
public final class ForcedAuthenticationActivationCondition extends Object implements BiPredicate<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
Has forced authentication been requested?Note, returns true if an authentication context is not contained in the profile request context - enabling the validator seems a better security posture than disabling it.
-
-
Constructor Summary
Constructors Constructor Description ForcedAuthenticationActivationCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleantest(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
-
-
-
-
Method Detail
-
test
public boolean test(@Nonnull ProfileRequestContext prc, @Nonnull com.nimbusds.jwt.JWTClaimsSet claims)- Specified by:
testin interfaceBiPredicate<ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet>
-
-