Class AutoLoginHelper
java.lang.Object
de.xima.fc.security.authentication.AutoLoginHelper
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCookie
(Benutzer user, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Deprecated.static void
addCookie
(IUser user, IAuthWebContext authContext) static AutoLoginInData
static int
static void
handleStayLoggedIn
(IAuthWebContext authContext) static boolean
static javax.servlet.http.Cookie
readCookie
(javax.servlet.http.HttpServletRequest req) static void
removeCookie
(IAuthWebContext authContext)
-
Constructor Details
-
AutoLoginHelper
public AutoLoginHelper()
-
-
Method Details
-
isEnabled
public static boolean isEnabled() -
getDuration
public static int getDuration() -
addCookie
-
removeCookie
-
readCookie
public static javax.servlet.http.Cookie readCookie(javax.servlet.http.HttpServletRequest req) -
getData
-
handleStayLoggedIn
-
addCookie
@Deprecated public static void addCookie(Benutzer user, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Deprecated.UseaddCookie(IUser, IAuthWebContext)
instead.
-
addCookie(IUser, IAuthWebContext)
instead.