@ Path ( "data/{dataSource}" ) public UserContextResource getUserContextResource ( @ PathParam ( "dataSource" ) String authProviderIdentifier ) throws GuacamoleException { // Pull UserContext defined by the given auth provider identifier UserContext userContext = session . getUserContext ( authProviderIdentifier ) ; // Return a resource exposing the retrieved UserContext return userContextResourceFactory . create ( userContext ) ; }
Retrieves a resource representing the UserContext associated with the AuthenticationProvider having the given identifier .