@ Path ( "/" ) public SessionResource getSessionResource ( @ QueryParam ( "token" ) String authToken ) throws GuacamoleException { // Return a resource exposing the retrieved session GuacamoleSession session = authenticationService . getGuacamoleSession ( authToken ) ; return sessionResourceFactory . create ( session ) ; }
Retrieves a resource representing the GuacamoleSession associated with the given authentication token .