Class ActiveCookieStore
java.lang.Object
com.djrapitops.plan.delivery.webserver.auth.ActiveCookieStore
- All Implemented Interfaces:
SubSystem
-
Field Summary
-
Constructor Summary
ConstructorDescriptionActiveCookieStore(PlanConfig config, DBSystem dbSystem, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, Processing processing)
-
Method Summary
Modifier and TypeMethodDescriptioncheckCookie(String cookie)
void
disable()
Performs disable actions for the subsystemvoid
enable()
Performs enable actions for the subsystem.generateNewCookie(User user)
void
void
removeCookie(String cookie)
static void
removeUserCookie(String username)
-
Field Details
-
cookieExpiresAfter
public static long cookieExpiresAfter
-
-
Constructor Details
-
ActiveCookieStore
@Inject public ActiveCookieStore(PlanConfig config, DBSystem dbSystem, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, Processing processing)
-
-
Method Details
-
removeUserCookie
-
enable
public void enable()Description copied from interface:SubSystem
Performs enable actions for the subsystem. -
disable
public void disable()Description copied from interface:SubSystem
Performs disable actions for the subsystem -
checkCookie
-
generateNewCookie
-
removeCookie
-
removeAll
public void removeAll()
-