Class SsaGetAction


  • @Named
    public class SsaGetAction
    extends java.lang.Object
    Provides the method to get existing SSAs based on certain conditions.
    • Constructor Summary

      Constructors 
      Constructor Description
      SsaGetAction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response get​(java.lang.String jti, java.lang.Long orgId, jakarta.servlet.http.HttpServletRequest httpRequest)
      Get existing active SSA based on "jti" or "org_id".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SsaGetAction

        public SsaGetAction()
    • Method Detail

      • get

        public jakarta.ws.rs.core.Response get​(java.lang.String jti,
                                               java.lang.Long orgId,
                                               jakarta.servlet.http.HttpServletRequest httpRequest)
        Get existing active SSA based on "jti" or "org_id".

        Method will return a WebApplicationException with status 401 if this functionality is not enabled, request has to have at least scope "ssa.admin" or "ssa.portal", 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 get.

        Method also performs the search based on the scope, if the scope is "ssa.admin" it is based on all SSA records, but if the scope is "ssa.portal", then it only returns the SSA list corresponding to the same org.

        Parameters:
        jti - Unique identifier
        orgId - Organization ID
        httpRequest - Http request
        Returns:
        Response with status 200 (Ok) and the body containing the list of SSAs.