@Path("/")
    public SessionResource getSessionResource(@TokenParam String authToken)
            throws GuacamoleException {

        // Return a resource exposing the retrieved session
        GuacamoleSession session = authenticationService.getGuacamoleSession(authToken);
        return sessionResourceFactory.create(authToken, session);

    }
Retrieves a resource representing the GuacamoleSession associated with
the given authentication token.

@param authToken
    The authentication token that is used to authenticate the user
    having the session being exposed.

@return
    A resource representing the GuacamoleSession associated with the
    given authentication token.

@throws GuacamoleException
    If the authentication token is invalid.
guacamole/src/main/java/org/apache/guacamole/rest/session/SessionRESTService.java