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)
Validates an existing SSA for a given "jti".Method will return a
WebApplicationException
with status422
if the SSA does not exist, has been expired or is no longer active, it will also return aWebApplicationException
with status500
in case an uncontrolled error occurs when processing the method.- Parameters:
jti
- Unique identifier- Returns:
Response
with status200
(Ok) if SSA has been validated.
-
-