Package org.keycloak.services.resources
Class LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
java.lang.Object
org.keycloak.services.resources.LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
- All Implemented Interfaces:
TokenVerifier.Predicate<JsonWebToken>
- Enclosing class:
- LoginActionsServiceChecks
public static class LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
extends Object
implements TokenVerifier.Predicate<JsonWebToken>
This check verifies that user ID (subject) from the token matches
the one from the authentication session.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
AuthenticationSessionUserIdMatchesOneFromToken
-
-
Method Details
-
test
- Specified by:
testin interfaceTokenVerifier.Predicate<JsonWebToken>- Throws:
VerificationException
-