Class SsaGetJwtAction
- java.lang.Object
-
- io.jans.as.server.ssa.ws.rs.action.SsaGetJwtAction
-
@Named public class SsaGetJwtAction extends Object
Provides the method to get JWT of SSA existing based on certain conditions.
-
-
Constructor Summary
Constructors Constructor Description SsaGetJwtAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsegetJwtSsa(String jti)Get JWT from existing active SSA based on "jti".
-
-
-
Method Detail
-
getJwtSsa
public jakarta.ws.rs.core.Response getJwtSsa(String jti)
Get JWT from existing active SSA based on "jti".Method will return the following exceptions: -
WebApplicationExceptionwith status401if this functionality is not enabled, request has to have at least scope "ssa.admin". -WebApplicationExceptionwith status422if the SSA does not exist, is expired or used. -WebApplicationExceptionwith status500in case an uncontrolled error occurs when processing the method.- Parameters:
jti- Unique identifier- Returns:
Responsewith status200 (Ok)and the body containing JWT of SSA.
-
-