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 Summary
Constructors Constructor Description SsaValidateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
validate(String jti)
Validates an existing SSA for a given "jti".
-
-
-
Method Detail
-
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
-
-