Class SsaCreateAction

  • @Named
    public class SsaCreateAction
    extends Object
    Provides required methods to create a new SSA considering all required conditions.
    • Constructor Detail

      • SsaCreateAction

        public SsaCreateAction()
    • Method Detail

      • create

        public create​(String requestParams,
                                                  jakarta.servlet.http.HttpServletRequest httpRequest)
        Creates an SSA from the requested parameters.

        Method will return a WebApplicationException with status 401 if this functionality is not enabled, request has to have at least scope "ssa.admin", it will also return a WebApplicationException with status 500 in case an uncontrolled error occurs when processing the method.

        Response of this method can be modified using the following custom script SSA Custom Script, method create.

        SSA returned by this method is stored in the corresponding database, so it can be later retrieved, validated or revoked.

        requestParams - Valid json request
        httpRequest - Http request
        Response with status 201 (Created) and response body containing the SSA in JWT format.