Class LoginActionsServiceChecks.IsActionRequired

  • All Implemented Interfaces:
    Enclosing class:

    public static class LoginActionsServiceChecks.IsActionRequired
    extends Object
    implements TokenVerifier.Predicate<JsonWebToken>
    Verifies that if authentication session exists and any action is required according to it, then it is the expected one. If there is an action required in the session, furthermore it is not the expected one, and the required action is redirection to "required actions", it throws with response performing the redirect to required actions.