public interface TokenSessionMap
Modifier and Type | Method and Description |
---|---|
GuacamoleSession |
get(String authToken)
Get the GuacamoleSession for a logged in user.
|
void |
put(String authToken,
GuacamoleSession session)
Registers that a user has just logged in with the specified authToken and
GuacamoleSession.
|
GuacamoleSession |
remove(String authToken)
Removes the GuacamoleSession associated with the given auth token.
|
void |
shutdown()
Shuts down this session map, disallowing future sessions and reclaiming
any resources.
|
void put(String authToken, GuacamoleSession session)
authToken
- The authentication token for the logged in user.session
- The GuacamoleSession for the logged in user.GuacamoleSession get(String authToken)
authToken
- The authentication token for the logged in user.GuacamoleSession remove(String authToken)
authToken
- The token to remove.void shutdown()
Copyright © 2016. All rights reserved.