public interface AuthenticationProvider
Modifier and Type | Method and Description |
---|---|
UserContext |
getUserContext(Credentials credentials)
Returns the UserContext of the user authorized by the given credentials.
|
UserContext |
updateUserContext(UserContext context,
Credentials credentials)
Returns a new or updated UserContext for the user authorized by the
give credentials and having the given existing UserContext.
|
UserContext getUserContext(Credentials credentials) throws GuacamoleException
credentials
- The credentials to use to retrieve the environment.GuacamoleException
- If an error occurs while creating the
UserContext.UserContext updateUserContext(UserContext context, Credentials credentials) throws GuacamoleException
context
- The existing UserContext belonging to the user in
question.credentials
- The credentials to use to retrieve or update the
environment.GuacamoleException
- If an error occurs while updating the
UserContext.Copyright © 2013. All rights reserved.