Uses of Class
com.logicaldoc.core.security.User
-
Packages that use User Package Description com.logicaldoc.core Core plug-in that contains the most important domain objectscom.logicaldoc.core.automation Automation subsystem that allows you to program your own logic inside the platform.
The automation engine can be accessed through the classAutomation
Please note the special annotationAutomationDictionary
that is used to automatically put in the Dictionary whatever bean you need.com.logicaldoc.core.document com.logicaldoc.core.security com.logicaldoc.core.security.authentication The pluggable authentication mechanism.com.logicaldoc.core.security.dao com.logicaldoc.core.util com.logicaldoc.web.service GWT services implementations.com.logicaldoc.web.util com.logicaldoc.webservice.model -
-
Uses of User in com.logicaldoc.core
Methods in com.logicaldoc.core that return User Modifier and Type Method Description User
History. getUser()
Methods in com.logicaldoc.core with parameters of type User Modifier and Type Method Description void
History. setUser(User user)
This setter sets the userId and username and other informations that can be captured by the given user -
Uses of User in com.logicaldoc.core.automation
Methods in com.logicaldoc.core.automation that return User Modifier and Type Method Description User
SecurityTool. getUser(long userId)
Retrieves a user objectUser
SecurityTool. getUser(String username)
Retrieves a user objectUser
UserTool. getUser(long userId)
Retrieves a user objectUser
UserTool. getUser(String username)
Retrieves a user object -
Uses of User in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document with parameters of type User Modifier and Type Method Description static Version
Version. create(Document document, User user, String comment, String event, boolean release)
Factory method that creates a Version and replicate all given document's properties.
The new version and fileVersion will be set in both Document and Version
Important: The created Version is not persistent -
Uses of User in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that return User Modifier and Type Method Description User
Group. getUser()
If this is a user group, then it returns the userUser
Session. getUser()
Methods in com.logicaldoc.core.security that return types with arguments of type User Modifier and Type Method Description Set<User>
Group. getUsers()
Methods in com.logicaldoc.core.security with parameters of type User Modifier and Type Method Description void
UserListener. afterStore(User user, UserHistory transaction, Map<String,Object> dictionary)
Called after a user is stored in the databasevoid
UserListener. beforeStore(User user, UserHistory transaction, Map<String,Object> dictionary)
Called before a user is stored in the databaseSession
SessionManager. createSession(User user, Client client)
Creates a new session by authenticated the given user and stores it in the pool of opened sessionsMethod parameters in com.logicaldoc.core.security with type arguments of type User Modifier and Type Method Description void
Group. setUsers(Set<User> users)
-
Uses of User in com.logicaldoc.core.security.authentication
Methods in com.logicaldoc.core.security.authentication that return User Modifier and Type Method Description User
AbstractAuthenticator. authenticate(String username, String password, String key)
User
AbstractAuthenticator. authenticate(String username, String password, String key, Client client)
User
AuthenticationChain. authenticate(String username, String password)
User
AuthenticationChain. authenticate(String username, String password, String key, Client client)
User
Authenticator. authenticate(String username, String password)
Authenticates the user using the given credentials, if successful, the corresponding user is returned.User
Authenticator. authenticate(String username, String password, String key)
Authenticates the user using the given credentials, if successful, the corresponding user is returned.User
Authenticator. authenticate(String username, String password, String key, Client client)
Authenticates the user using the given credentials, if successful, the corresponding user is returned.User
DefaultAuthenticator. authenticate(String username, String password)
User
DefaultAuthenticator. authenticate(String username, String password, String key, Client client)
User
AuthenticationChain. pickUser(String username)
User
Authenticator. pickUser(String username)
This method does not authenticate the user but just retrieves his detailsUser
DefaultAuthenticator. pickUser(String username)
Methods in com.logicaldoc.core.security.authentication with parameters of type User Modifier and Type Method Description void
DefaultAuthenticator. validateUser(User user)
Perform some security validations on the user but does not check the password. -
Uses of User in com.logicaldoc.core.security.dao
Methods in com.logicaldoc.core.security.dao that return User Modifier and Type Method Description User
HibernateUserDAO. findAdminUser(String tenantName)
User
UserDAO. findAdminUser(String tenantName)
Retrieve the administrator for the given tenant.User
HibernateUserDAO. findById(long id)
User
HibernateUserDAO. findByUsername(String username)
User
UserDAO. findByUsername(String username)
This method finds an User by its username.User
HibernateUserDAO. findByUsernameIgnoreCase(String username)
User
UserDAO. findByUsernameIgnoreCase(String username)
This method finds an User by its username.User
HibernateUserDAO. getUser(String username)
User
UserDAO. getUser(String username)
Depending on the global setting, it invokes findByUsername or findByUsernameIgnoreCaseMethods in com.logicaldoc.core.security.dao that return types with arguments of type User Modifier and Type Method Description Set<User>
HibernateUserDAO. findByGroup(long groupId)
Set<User>
UserDAO. findByGroup(long groupId)
Retrieves the users belonging to a given group.List<User>
HibernateUserDAO. findByLikeUsername(String username)
List<User>
UserDAO. findByLikeUsername(String username)
This method finds an User by username.List<User>
HibernateUserDAO. findByName(String name)
List<User>
UserDAO. findByName(String name)
This method finds an User by name.List<User>
HibernateUserDAO. findByUsernameAndName(String username, String name)
List<User>
UserDAO. findByUsernameAndName(String username, String name)
This method finds an User by username and name.Methods in com.logicaldoc.core.security.dao with parameters of type User Modifier and Type Method Description UserHistory
HibernateUserHistoryDAO. createUserHistory(User user, String eventType, String comment, String sessionId, Client client)
UserHistory
UserHistoryDAO. createUserHistory(User user, String event, String comment, String sessionId, Client client)
Creates an user history entryvoid
HibernateUserDAO. initialize(User user)
boolean
HibernateUserDAO. store(User user)
boolean
HibernateUserDAO. store(User user, UserHistory transaction)
boolean
UserDAO. store(User user, UserHistory transaction)
This method persists the user object and insert a new user history entry.Device
DeviceDAO. trustDevice(User user, Device device)
Trusts a device for a userDevice
HibernateDeviceDAO. trustDevice(User user, Device requestDevice)
-
Uses of User in com.logicaldoc.core.util
Methods in com.logicaldoc.core.util with parameters of type User Modifier and Type Method Description static void
UserUtil. generateDefaultAvatar(User user)
Updates the avatar of a user with the default avatar that is the Gravatar or the auto-generated image(in case Gravatar is not available)static void
UserUtil. saveAvatar(User user, File avatarImageFile)
Updates the avatar of a user with a given .png image -
Uses of User in com.logicaldoc.web.service
Methods in com.logicaldoc.web.service with parameters of type User Modifier and Type Method Description static GUIDocument
DocumentServiceImpl. fromDocument(Document doc, GUIFolder folder, User sessionUser)
-
Uses of User in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util that return User Modifier and Type Method Description static User
ServiceUtil. getSessionUser(String sid)
static User
ServiceUtil. getSessionUser(javax.servlet.http.HttpServletRequest request)
Methods in com.logicaldoc.web.util with parameters of type User Modifier and Type Method Description static void
ServiceUtil. checkPermission(Permission permission, User user, long folderId)
static void
ServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, long docId, String fileVersion, String fileName, String suffix, User user)
Sends the specified document to the response object; the client will receive it as a downloadstatic void
ServletUtil. downloadDocument(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String sid, String docId, String fileVersion, String fileName, User user)
Sends the specified document to the response object; the client will receive it as a downloadstatic void
ServletUtil. downloadDocumentText(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, long docId, User user)
Sends the specified document's indexed text to the response object; the client will receive it as a download -
Uses of User in com.logicaldoc.webservice.model
Methods in com.logicaldoc.webservice.model that return User Modifier and Type Method Description User
WSUser. toUser()
Methods in com.logicaldoc.webservice.model with parameters of type User Modifier and Type Method Description static WSUser
WSUser. fromUser(User user)
-