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.Responsevalidate(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
WebApplicationExceptionwith status422if the SSA does not exist, has been expired or is no longer active, it will also return aWebApplicationExceptionwith status500in case an uncontrolled error occurs when processing the method.- Parameters:
jti- Unique identifier- Returns:
Responsewith status200(Ok) if SSA has been validated.
-
-