Class AMAuthUtils


  • public class AMAuthUtils
    extends Object
    This class provides authentication related helper methods.
    • Field Detail

      • debug

        public static Debug debug
    • Constructor Detail

      • AMAuthUtils

        public AMAuthUtils()
    • Method Detail

      • getAuthenticatedOrgDN

        public static String getAuthenticatedOrgDN​(SSOToken ssoToken)
        Gets the organization where user authenticated to. This value is found in single-sign on token.
        Parameters:
        ssoToken - - Single-Sign-On Token return organization where user authenticated.
      • getSSOToken

        public static SSOToken getSSOToken​(jakarta.servlet.http.HttpServletRequest req)
                                    throws SSOException
        Returns user's single sign on token.
        Parameters:
        req - HTTP Servlet request.
        Returns:
        single-sign-on token.
        Throws:
        SSOException - if single-sign-on token cannot be created