Package de.xima.fc.utils
Class SessionHelper
- java.lang.Object
-
- de.xima.fc.utils.SessionHelper
-
public class SessionHelper extends Object
Helper for working withHttpSession
s.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static com.alibaba.fastjson.JSONObject
getAuthenticationTargetStateJson(javax.servlet.http.HttpServletRequest request)
static Long
getRestLoginClientId(javax.servlet.http.HttpSession session)
Deprecated.The REST-API will be deprecated in the future.static void
setRestLoginClientId(javax.servlet.http.HttpSession session, Long restLoginClientId)
Deprecated.The REST-API will be deprecated in the future.
-
-
-
Method Detail
-
getAuthenticationTargetStateJson
public static com.alibaba.fastjson.JSONObject getAuthenticationTargetStateJson(javax.servlet.http.HttpServletRequest request)
- Parameters:
request
- to get the authentication target for.- Returns:
- The authentication target with its parameters as a JSON.
-
getRestLoginClientId
@Deprecated public static Long getRestLoginClientId(javax.servlet.http.HttpSession session)
Deprecated.The REST-API will be deprecated in the future.- Parameters:
session
- to check- Returns:
- The client that has been used for login for the REST-API from the session.
-
setRestLoginClientId
@Deprecated public static void setRestLoginClientId(javax.servlet.http.HttpSession session, Long restLoginClientId)
Deprecated.The REST-API will be deprecated in the future.SEts the client that has been used for login for the REST-API in the session.- Parameters:
session
- to add client ID torestLoginClientId
- Client ID to set
-
-