Class SessionStorage
java.lang.Object
pro.gravit.launchserver.auth.session.SessionStorage
- Direct Known Subclasses:
MemorySessionStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic pro.gravit.utils.ProviderMap<SessionStorage>protected LaunchServer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclear()abstract booleandeleteSession(UUID sessionUUID)booleandeleteSessionsByUserUUID(UUID userUUID)abstract byte[]getSessionData(UUID session)getSessionsFromUserUUID(UUID userUUID)voidinit(LaunchServer server)abstract voidlockSession(UUID sessionUUID)abstract voidstatic voidabstract voidunlockSession(UUID sessionUUID)abstract voidunlockUser(UUID userUUID)abstract booleanwriteSession(UUID userUUID, UUID sessionUUID, byte[] data)
-
Field Details
-
providers
-
server
-
-
Constructor Details
-
SessionStorage
public SessionStorage()
-
-
Method Details
-
registerProviders
public static void registerProviders() -
getSessionData
-
getSessionsFromUserUUID
-
writeSession
-
deleteSession
-
deleteSessionsByUserUUID
-
clear
public abstract void clear() -
lockSession
-
lockUser
-
unlockSession
-
unlockUser
-
init
-