Package org.keycloak.services.resources
Class LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
java.lang.Object
org.keycloak.services.resources.LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
- All Implemented Interfaces:
org.keycloak.TokenVerifier.Predicate<org.keycloak.representations.JsonWebToken>
- Enclosing class:
- LoginActionsServiceChecks
public static class LoginActionsServiceChecks.AuthenticationSessionUserIdMatchesOneFromToken
extends Object
implements org.keycloak.TokenVerifier.Predicate<org.keycloak.representations.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
public boolean test(org.keycloak.representations.JsonWebToken t) throws org.keycloak.common.VerificationException - Specified by:
testin interfaceorg.keycloak.TokenVerifier.Predicate<org.keycloak.representations.JsonWebToken>- Throws:
org.keycloak.common.VerificationException
-