@Unstable
@Role
public interface UserManager
User getUser(String identifier)
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 otherwiseUser getUser(String identifier, boolean force)
force parameter is
true, return a new user in the default user management system.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 serviceforce - whether to force returning a new profile in case the user is not foundforce is true; null
otherwiseUser getCurrentUser()
null if no user is logged inCopyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.