Class AutoLoginHelper
java.lang.Object
de.xima.fc.security.authentication.AutoLoginHelper
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCookie(Benutzer user, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Deprecated.static voidaddCookie(IUser user, IAuthWebContext authContext) static AutoLoginInDatastatic intstatic voidhandleStayLoggedIn(IAuthWebContext authContext) static booleanstatic javax.servlet.http.CookiereadCookie(javax.servlet.http.HttpServletRequest req) static voidremoveCookie(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.