Class UserPortalWebUtil

java.lang.Object
de.xima.fc.user_portal.integration.util.UserPortalWebUtil

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

    • 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.
    • getClientNamesByUserPortalAlias

      public static Set<String> getClientNamesByUserPortalAlias(org.pac4j.core.context.WebContext context)
    • 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.