org.glyptodon.guacamole.net.auth
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 org.glyptodon.guacamole.GuacamoleException
credentials - The credentials to use to retrieve the environment.org.glyptodon.guacamole.GuacamoleException - If an error occurs while creating the
UserContext.UserContext updateUserContext(UserContext context, Credentials credentials) throws org.glyptodon.guacamole.GuacamoleException
context - The existing UserContext belonging to the user in
question.credentials - The credentials to use to retrieve or update the
environment.org.glyptodon.guacamole.GuacamoleException - If an error occurs while updating the
UserContext.Copyright © 2014. All Rights Reserved.