Class UserPortalWebUtil


  • public class UserPortalWebUtil
    extends Object
    Utility class for user portal security.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getUserPortalAlias

        public static String getUserPortalAlias​(org.pac4j.core.context.WebContext context)
        Get the user portal alias from the web context.
        Parameters:
        context - The web context.
        Returns:
        The user portal alias.
      • getUserPortalAlias

        public static String getUserPortalAlias​(javax.servlet.http.HttpServletRequest request)
        Get the user portal alias from the request.
        Parameters:
        request - The request.
        Returns:
        The user portal alias.
      • getUserPortalAliasByRequestParameter

        public static String getUserPortalAliasByRequestParameter​(org.pac4j.core.context.WebContext context)
        Get the user portal alias from the request parameter.
        Parameters:
        context - The web context.
        Returns:
        The user portal alias.
      • getUserPortalAliasByRequestParameter

        public static String getUserPortalAliasByRequestParameter​(javax.servlet.http.HttpServletRequest request)
        Get the user portal alias from the request parameter.
        Parameters:
        request - The request.
        Returns:
        The user portal alias.
      • getUserPortalAliasByAuthenticationRequestParameter

        public static String getUserPortalAliasByAuthenticationRequestParameter​(org.pac4j.core.context.WebContext context)
        Get the user portal alias from the request parameter.
        Parameters:
        context - The web context.
        Returns:
        The user portal alias.
      • getUserPortalAliasByAuthenticationRequestParameter

        public static String getUserPortalAliasByAuthenticationRequestParameter​(javax.servlet.http.HttpServletRequest request)
        Get the user portal alias from the authentication request parameter.
        Parameters:
        request - The request.
        Returns:
        The user portal alias.
      • getUserPortalAliasByAuthenticationTarget

        public static String getUserPortalAliasByAuthenticationTarget​(org.pac4j.core.context.WebContext context)
        Get the user portal alias from the authentication target.
        Parameters:
        context - The web context.
        Returns:
        The user portal alias.
      • getUserPortalAliasByAuthenticationTarget

        public static String getUserPortalAliasByAuthenticationTarget​(javax.servlet.http.HttpServletRequest request)
        Get the user portal alias from the authentication target.
        Parameters:
        request - The request.
        Returns:
        The user portal alias.