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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getUserPortalAlias(javax.servlet.http.HttpServletRequest request)
Get the user portal alias from the request.static String
getUserPortalAlias(org.pac4j.core.context.WebContext context)
Get the user portal alias from the web context.static String
getUserPortalAliasByAuthenticationRequestParameter(javax.servlet.http.HttpServletRequest request)
Get the user portal alias from theauthentication request parameter
.static String
getUserPortalAliasByAuthenticationRequestParameter(org.pac4j.core.context.WebContext context)
Get the user portal alias from therequest parameter
.static String
getUserPortalAliasByAuthenticationTarget(javax.servlet.http.HttpServletRequest request)
Get the user portal alias from the authentication target.static String
getUserPortalAliasByAuthenticationTarget(org.pac4j.core.context.WebContext context)
Get the user portal alias from the authentication target.static String
getUserPortalAliasByRequestParameter(javax.servlet.http.HttpServletRequest request)
Get the user portal alias from therequest parameter
.static String
getUserPortalAliasByRequestParameter(org.pac4j.core.context.WebContext context)
Get the user portal alias from therequest parameter
.
-
-
-
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 therequest 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 therequest 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 therequest 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 theauthentication 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.
-
-