GUAC-586: Correct documentation regarding behavior of retrieveUser().

This commit is contained in:
Michael Jumper
2015-09-01 17:14:51 -07:00
parent 0d92876d23
commit 5d8c9704a8

View File

@@ -354,15 +354,14 @@ public class UserService extends ModeledDirectoryObjectService<ModeledUser, User
/** /**
* Retrieves the user corresponding to the given AuthenticatedUser from the * Retrieves the user corresponding to the given AuthenticatedUser from the
* database. If no such user exists, a placeholder entry will be created * database.
* first.
* *
* @param authenticatedUser * @param authenticatedUser
* The AuthenticatedUser to retrieve the corresponding ModeledUser of. * The AuthenticatedUser to retrieve the corresponding ModeledUser of.
* *
* @return * @return
* The ModeledUser which corresponds to the given AuthenticatedUser, * The ModeledUser which corresponds to the given AuthenticatedUser, or
* created first if necessary. * null if no such user exists.
*/ */
public ModeledUser retrieveUser(org.glyptodon.guacamole.net.auth.AuthenticatedUser authenticatedUser) { public ModeledUser retrieveUser(org.glyptodon.guacamole.net.auth.AuthenticatedUser authenticatedUser) {