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