public class AuthenticationService extends Object
Constructor and Description |
---|
AuthenticationService() |
Modifier and Type | Method and Description |
---|---|
GuacamoleSession |
getGuacamoleSession(String authToken)
Finds the Guacamole session for a given auth token, if the auth token
represents a currently logged in user.
|
List<UserContext> |
getUserContexts(String authToken)
Returns all UserContexts associated with a given auth token, if the auth
token represents a currently logged in user.
|
public GuacamoleSession getGuacamoleSession(String authToken) throws GuacamoleException
authToken
- The auth token to check against the map of logged in users.GuacamoleException
- If the auth token does not correspond to any
logged in user.public List<UserContext> getUserContexts(String authToken) throws GuacamoleException
authToken
- The auth token to check against the map of logged in users.GuacamoleException
- If the auth token does not correspond to any logged in user.Copyright © 2017. All rights reserved.