Class SsaValidateAction

java.lang.Object
io.jans.as.server.ssa.ws.rs.action.SsaValidateAction

@Named public class SsaValidateAction extends Object
Provides the method to validate an existing SSA considering certain conditions.
  • Constructor Details

    • SsaValidateAction

      public SsaValidateAction()
  • Method Details

    • validate

      public jakarta.ws.rs.core.Response validate(String jti) throws jakarta.ws.rs.WebApplicationException
      Validates an existing SSA for a given "jti".
      Parameters:
      jti - Unique identifier
      Returns:
      Response with status 200 (Ok) if SSA has been validated or 400 (Bad Request) with <b>invalid_jti<b/> key, when jti does not exist, is invalid or state is in (expired, used or revoked) or 500 (Internal Server Error) with <b>unknown_error<b/> key, in case an uncontrolled error occurs when processing the method.
      Throws:
      jakarta.ws.rs.WebApplicationException