Class AutoLoginHelper
- java.lang.Object
-
- de.xima.fc.security.authentication.AutoLoginHelper
-
public class AutoLoginHelper extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description AutoLoginHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
addCookie(Benutzer user, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Deprecated.UseaddCookie(IUser, IAuthWebContext)
instead.static void
addCookie(IUser user, IAuthWebContext authContext)
static AutoLoginInData
getData(String cookieToken)
static int
getDuration()
static void
handleStayLoggedIn(IAuthWebContext authContext)
static boolean
isEnabled()
static javax.servlet.http.Cookie
readCookie(javax.servlet.http.HttpServletRequest req)
static void
removeCookie(IAuthWebContext authContext)
-
-
-
Method Detail
-
isEnabled
public static boolean isEnabled()
-
getDuration
public static int getDuration()
-
addCookie
public static void addCookie(IUser user, IAuthWebContext authContext)
-
removeCookie
public static void removeCookie(IAuthWebContext authContext)
-
readCookie
public static javax.servlet.http.Cookie readCookie(javax.servlet.http.HttpServletRequest req)
-
getData
public static AutoLoginInData getData(String cookieToken)
-
handleStayLoggedIn
public static void handleStayLoggedIn(IAuthWebContext authContext)
-
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.
-
-