Class SsaValidateAction
java.lang.Object
io.jans.as.server.ssa.ws.rs.action.SsaValidateAction
Provides the method to validate an existing SSA considering certain conditions.
-
Constructor Summary
Constructors -
Method Summary
-
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 status200 (Ok)
if SSA has been validated or400 (Bad Request) with <b>invalid_jti<b/> key
, when jti does not exist, is invalid or state is in (expired, used or revoked) or500 (Internal Server Error) with <b>unknown_error<b/> key
, in case an uncontrolled error occurs when processing the method.- Throws:
jakarta.ws.rs.WebApplicationException
-