Class ActiveCookieStore
java.lang.Object
com.djrapitops.plan.delivery.webserver.auth.ActiveCookieStore
- All Implemented Interfaces:
SubSystem
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionActiveCookieStore
(ActiveCookieExpiryCleanupTask activeCookieExpiryCleanupTask, PlanConfig config, DBSystem dbSystem, Processing processing, net.playeranalytics.plugin.server.PluginLogger logger) -
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) static long
void
void
removeCookie
(String cookie) static void
removeUserCookie
(String username)
-
Constructor Details
-
ActiveCookieStore
@Inject public ActiveCookieStore(ActiveCookieExpiryCleanupTask activeCookieExpiryCleanupTask, PlanConfig config, DBSystem dbSystem, Processing processing, net.playeranalytics.plugin.server.PluginLogger logger)
-
-
Method Details
-
getCookieExpiresAfterMs
public static long getCookieExpiresAfterMs() -
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()
-