public abstract class AbstractUserManager extends Object implements UserManager
Constructor and Description |
---|
AbstractUserManager() |
Modifier and Type | Method and Description |
---|---|
User |
getCurrentUser()
Get the currently logged in user.
|
User |
getUser(String identifier)
The user corresponding to the identifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUser
public User getUser(String identifier)
UserManager
getUser
in interface UserManager
identifier
- the user identifier to resolve: the username passed in the login form, a serialized identifier
stored in the document's metadata, or an identifier passed by an external authentication servicenull
otherwisepublic User getCurrentUser()
UserManager
getCurrentUser
in interface UserManager
null
if no user is logged inCopyright © 2011–2015 University of Toronto, Computational Biology Lab. All rights reserved.