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 annotationAutomationDictionarythat 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 UserHistory. getUser()Methods in com.logicaldoc.core with parameters of type User Modifier and Type Method Description voidHistory. 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 UserSecurityTool. getUser(long userId)Retrieves a user objectUserSecurityTool. getUser(String username)Retrieves a user objectUserUserTool. getUser(long userId)Retrieves a user objectUserUserTool. 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 VersionVersion. 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 UserGroup. getUser()If this is a user group, then it returns the userUserSession. 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 voidUserListener. afterStore(User user, UserHistory transaction, Map<String,Object> dictionary)Called after a user is stored in the databasevoidUserListener. beforeStore(User user, UserHistory transaction, Map<String,Object> dictionary)Called before a user is stored in the databaseSessionSessionManager. 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 voidGroup. 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 UserAbstractAuthenticator. authenticate(String username, String password, String key)UserAbstractAuthenticator. authenticate(String username, String password, String key, Client client)UserAuthenticationChain. authenticate(String username, String password)UserAuthenticationChain. authenticate(String username, String password, String key, Client client)UserAuthenticator. authenticate(String username, String password)Authenticates the user using the given credentials, if successful, the corresponding user is returned.UserAuthenticator. authenticate(String username, String password, String key)Authenticates the user using the given credentials, if successful, the corresponding user is returned.UserAuthenticator. authenticate(String username, String password, String key, Client client)Authenticates the user using the given credentials, if successful, the corresponding user is returned.UserDefaultAuthenticator. authenticate(String username, String password)UserDefaultAuthenticator. authenticate(String username, String password, String key, Client client)UserAuthenticationChain. pickUser(String username)UserAuthenticator. pickUser(String username)This method does not authenticate the user but just retrieves his detailsUserDefaultAuthenticator. pickUser(String username)Methods in com.logicaldoc.core.security.authentication with parameters of type User Modifier and Type Method Description voidDefaultAuthenticator. 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 UserHibernateUserDAO. findAdminUser(String tenantName)UserUserDAO. findAdminUser(String tenantName)Retrieve the administrator for the given tenant.UserHibernateUserDAO. findById(long id)UserHibernateUserDAO. findByUsername(String username)UserUserDAO. findByUsername(String username)This method finds an User by its username.UserHibernateUserDAO. findByUsernameIgnoreCase(String username)UserUserDAO. findByUsernameIgnoreCase(String username)This method finds an User by its username.UserHibernateUserDAO. getUser(String username)UserUserDAO. 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 UserHistoryHibernateUserHistoryDAO. createUserHistory(User user, String eventType, String comment, String sessionId, Client client)UserHistoryUserHistoryDAO. createUserHistory(User user, String event, String comment, String sessionId, Client client)Creates an user history entryvoidHibernateUserDAO. initialize(User user)voidHibernateUserDAO. store(User user)voidHibernateUserDAO. store(User user, UserHistory transaction)voidUserDAO. store(User user, UserHistory transaction)This method persists the user object and insert a new user history entry.DeviceDeviceDAO. trustDevice(User user, Device device)Trusts a device for a userDeviceHibernateDeviceDAO. 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 voidUserUtil. 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 voidUserUtil. 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 GUIDocumentDocumentServiceImpl. fromDocument(Document doc, GUIFolder folder, User sessionUser)GUIAttribute[]TemplateServiceImpl. prepareGUIAttributes(Template template, ExtensibleObject extensibleObject, 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 UserServletUtil. getSessionUser(String sid)static UserServletUtil. getSessionUser(javax.servlet.http.HttpServletRequest request)Methods in com.logicaldoc.web.util with parameters of type User Modifier and Type Method Description static voidServletUtil. 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 voidServletUtil. 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 voidServletUtil. 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 UserWSUser. toUser()Methods in com.logicaldoc.webservice.model with parameters of type User Modifier and Type Method Description static WSUserWSUser. fromUser(User user)
-