Class SsaGetJwtAction
java.lang.Object
io.jans.as.server.ssa.ws.rs.action.SsaGetJwtAction
Provides the method to get JWT of SSA existing based on certain conditions.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SsaGetJwtAction
public SsaGetJwtAction()
-
-
Method Details
-
getJwtSsa
public jakarta.ws.rs.core.Response getJwtSsa(String jti) throws jakarta.ws.rs.WebApplicationException Get JWT from existing active SSA based on "jti".Method will return the following exceptions: -
WebApplicationException
with status401
if this functionality is not enabled, request has to have at least scope "ssa.admin". -WebApplicationException
with status400 (Bad Request) with <b>invalid_jti<b/> key
, when jti does not exist, is invalid or state is in (expired, used or revoked). -WebApplicationException
with status500
in case an uncontrolled error occurs when processing the method.- Parameters:
jti
- Unique identifier- Returns:
Response
with status200 (Ok)
and the body containing JWT of SSA.- Throws:
jakarta.ws.rs.WebApplicationException
-