Package | Description |
---|---|
org.opencms.ade.sitemap |
Server side of the sitemap view.
|
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.db.generic |
Generic (ANSI-SQL) implementation of the OpenCms database connector.
|
org.opencms.db.jpa |
JPA implementation of the OpenCms database connector.
|
org.opencms.db.mysql |
MySQL4+ implementation of the OpenCms database connector.
|
org.opencms.db.oracle |
Oracle9+ implementation of the OpenCms database connector.
|
org.opencms.file |
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
|
org.opencms.file.wrapper |
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject . |
org.opencms.i18n |
Classes to handle internalization (i18n) and locale selection in OpenCms.
|
org.opencms.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.jsp |
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
|
org.opencms.jsp.util |
Utility classes to be used for JSP pages.
|
org.opencms.lock |
The lock state of the resources in the VFS is handled with these classes.
|
org.opencms.main |
Provides the main OpenCms "operating system".
|
org.opencms.monitor |
Contains functions to monitor the OpenCms system status.
|
org.opencms.notification |
Contains classes for the automatical notification of outdated, expiring or released content.
|
org.opencms.publish |
Classes to handle the OpenCms publish process.
|
org.opencms.security |
Access control and security classes for the OpenCms ACL permission system.
|
org.opencms.ugc | |
org.opencms.ui |
General code for the Vaadin UI
|
org.opencms.ui.login |
Contains the user interface components for the Vaadin-based login dialog
|
org.opencms.workflow | |
org.opencms.workplace |
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsAliasEditorLockTable.update(CmsObject cms,
java.lang.String siteRoot)
Tries to update or create an entry for the given user/site root combination.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
I_CmsUserDriver.createUser(CmsDbContext dbc,
CmsUUID id,
java.lang.String userFqn,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long lastlogin,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user.
|
CmsUser |
CmsDriverManager.createUser(CmsDbContext dbc,
java.lang.String name,
java.lang.String password,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user.
|
CmsUser |
CmsSecurityManager.createUser(CmsRequestContext context,
java.lang.String name,
java.lang.String password,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user.
|
CmsUser |
CmsDbContext.currentUser()
Returns the current user.
|
CmsUser |
CmsVisitedByFilter.getUser()
Returns the user to check the visited resources for.
|
CmsUser |
CmsUserSettings.getUser()
Returns the current user for the settings.
|
CmsUser |
CmsDriverManager.importUser(CmsDbContext dbc,
java.lang.String id,
java.lang.String name,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user by import.
|
CmsUser |
CmsSecurityManager.importUser(CmsRequestContext context,
java.lang.String id,
java.lang.String name,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user by import.
|
CmsUser |
CmsDriverManager.lockedBy(CmsDbContext dbc,
CmsResource resource)
Returns the user, who had locked the resource.
|
CmsUser |
CmsDriverManager.loginUser(CmsDbContext dbc,
java.lang.String userName,
java.lang.String password,
java.lang.String remoteAddress)
Attempts to authenticate a user into OpenCms with the given password.
|
CmsUser |
CmsSecurityManager.loginUser(CmsRequestContext context,
java.lang.String username,
java.lang.String password,
java.lang.String remoteAddress)
Attempts to authenticate a user into OpenCms with the given password.
|
CmsUser |
CmsDriverManager.readOwner(CmsDbContext dbc,
CmsProject project)
Reads the owner of a project.
|
CmsUser |
CmsSecurityManager.readOwner(CmsRequestContext context,
CmsProject project)
Reads the owner of a project from the OpenCms.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
CmsUUID id)
Reads a user based on the user id.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
CmsUUID id)
Returns a user object based on the id of a user.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn)
Reads a user based in the user fully qualified name.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
java.lang.String username)
Returns a user object.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
java.lang.String username,
java.lang.String password)
Returns a user object if the password for the user is correct.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn,
java.lang.String password,
java.lang.String remoteAddress)
Reads a user from the database, only if the password is correct.
|
CmsUser |
CmsSecurityManager.readUser(CmsRequestContext context,
CmsUUID id)
Returns a user object based on the id of a user.
|
CmsUser |
CmsSecurityManager.readUser(CmsRequestContext context,
java.lang.String username)
Returns a user object.
|
CmsUser |
CmsSecurityManager.readUser(CmsRequestContext context,
java.lang.String username,
java.lang.String password)
Returns a user object if the password for the user is correct.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsUser> |
I_CmsUserDriver.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all direct users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsSecurityManager.getUsers(CmsRequestContext context,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsersOfGroup(CmsDbContext dbc,
java.lang.String groupname,
boolean includeOtherOuUsers,
boolean directUsersOnly,
boolean readRoles)
Returns a list of users in a group.
|
java.util.List<CmsUser> |
CmsSecurityManager.getUsersOfGroup(CmsRequestContext context,
java.lang.String groupname,
boolean includeOtherOuUsers,
boolean directUsersOnly,
boolean readRoles)
Returns a list of users in a group.
|
java.util.List<CmsUser> |
I_CmsUserDriver.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all users of the given organizational unit, without reading their additional infos.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all direct users of the given organizational unit, without their additional info.
|
java.util.List<CmsUser> |
CmsSecurityManager.getUsersWithoutAdditionalInfo(CmsRequestContext context,
CmsOrganizationalUnit orgUnit,
boolean recursive)
Returns all users of the given organizational unit.
|
java.util.Set<CmsUser> |
CmsDriverManager.readResponsibleUsers(CmsDbContext dbc,
CmsResource resource)
Returns the set of users that are responsible for a specific resource.
|
java.util.Set<CmsUser> |
CmsSecurityManager.readResponsibleUsers(CmsRequestContext context,
CmsResource resource)
Returns a set of users that are responsible for a specific resource.
|
java.util.List<CmsUser> |
I_CmsUserDriver.readUsersOfGroup(CmsDbContext dbc,
java.lang.String groupFqn,
boolean includeOtherOuUsers)
Reads all users that are members of the given group.
|
java.util.List<CmsUser> |
I_CmsUserDriver.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams)
Searches for users which match the given search criteria.
|
java.util.List<CmsUser> |
CmsDriverManager.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams)
Searches for users which fit the given criteria.
|
java.util.List<CmsUser> |
CmsSecurityManager.searchUsers(CmsRequestContext requestContext,
CmsUserSearchParameters searchParams)
Searches users by search criteria.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CmsLoginManager.canLockBecauseOfInactivity(CmsObject cms,
CmsUser user)
Checks whether a user account can be locked because of inactivity.
|
boolean |
CmsLoginManager.checkInactive(CmsUser user)
Checks whether the given user has been inactive for longer than the configured limit.
|
CmsProject |
I_CmsProjectDriver.createProject(CmsDbContext dbc,
CmsUUID id,
CmsUser owner,
CmsGroup group,
CmsGroup managergroup,
java.lang.String name,
java.lang.String description,
int flags,
CmsProject.CmsProjectType type)
Creates a new project.
|
protected void |
CmsSecurityManager.deleteUser(CmsRequestContext context,
CmsUser user,
CmsUser replacement)
Deletes a user, where all permissions and resources attributes of the user
were transfered to a replacement user, if given.
|
java.lang.String |
I_CmsCacheKey.getCacheKeyForUserGroups(java.lang.String prefix,
CmsDbContext context,
CmsUser user)
Returns the cache key for the user groups cache.
|
java.lang.String |
CmsCacheKey.getCacheKeyForUserGroups(java.lang.String prefix,
CmsDbContext context,
CmsUser user) |
long |
CmsDriverManager.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource)
Returns the date when the resource was last visited by the user.
|
long |
I_CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource)
Returns the date when the resource was last visited by the user.
|
long |
CmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms,
CmsUser user,
CmsResource resource)
Returns the date when the resource was last visited by the user.
|
long |
CmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms,
CmsUser user,
java.lang.String resourcePath)
Returns the date when the resource was last visited by the user.
|
long |
CmsSecurityManager.getDateLastVisitedBy(CmsRequestContext context,
java.lang.String poolName,
CmsUser user,
CmsResource resource)
Returns the date when the resource was last visited by the user.
|
CmsPermissionSetCustom |
CmsDriverManager.getPermissions(CmsDbContext dbc,
CmsResource resource,
CmsUser user)
Returns the set of permissions of the current user for a given resource.
|
CmsPermissionSetCustom |
CmsSecurityManager.getPermissions(CmsRequestContext context,
CmsResource resource,
CmsUser user)
Returns the set of permissions of the current user for a given resource.
|
java.util.List<CmsRole> |
CmsDriverManager.getRolesForResource(CmsDbContext dbc,
CmsUser user,
CmsResource resource)
Returns all roles the given user has for the given resource.
|
java.util.List<CmsRole> |
CmsSecurityManager.getRolesForResource(CmsRequestContext context,
CmsUser user,
CmsResource resource)
Returns all roles the given user has for the given resource.
|
java.util.List<CmsRole> |
CmsDriverManager.getRolesForUser(CmsDbContext dbc,
CmsUser user)
Returns all roles the given user has independent of the resource.
|
boolean |
CmsSecurityManager.hasRole(CmsDbContext dbc,
CmsUser user,
CmsRole role)
Checks if the given user has the given role in the given organizational unit.
|
boolean |
CmsSecurityManager.hasRole(CmsRequestContext context,
CmsUser user,
CmsRole role)
Checks if the given user has the given role in the given organizational unit.
|
boolean |
CmsSecurityManager.hasRoleForResource(CmsDbContext dbc,
CmsUser user,
CmsRole role,
CmsResource resource)
Checks if the given user has the given role for the given resource.
|
boolean |
CmsSecurityManager.hasRoleForResource(CmsRequestContext context,
CmsUser user,
CmsRole role,
CmsResource resource)
Checks if the given user has the given role for the given resource.
|
void |
CmsUserSettings.init(CmsUser user)
Initializes the user settings with the given users setting parameters.
|
boolean |
CmsLoginManager.isUserLocked(CmsUser user)
Checks if a user is locked due to too many failed logins.
|
void |
CmsDriverManager.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
void |
I_CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
void |
CmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
void |
CmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms,
java.lang.String resourcePath,
CmsUser user)
Mark the given resource as visited by the user.
|
void |
CmsSecurityManager.markResourceAsVisitedBy(CmsRequestContext context,
java.lang.String poolName,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
java.util.List<CmsProject> |
I_CmsProjectDriver.readProjectsForUser(CmsDbContext dbc,
CmsUser user)
Reads all projects which are owned by a specified user.
|
java.util.List<I_CmsHistoryResource> |
CmsDriverManager.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom)
Returns the subscribed history resources that were deleted.
|
java.util.List<I_CmsHistoryResource> |
I_CmsSubscriptionDriver.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom)
Returns the subscribed history resources that were deleted.
|
java.util.List<I_CmsHistoryResource> |
CmsSubscriptionManager.readSubscribedDeletedResources(CmsObject cms,
CmsUser user,
boolean includeGroups,
java.lang.String folderPath,
boolean includeSubFolders,
long deletedFrom)
Returns the subscribed history resources that were deleted.
|
java.util.List<I_CmsHistoryResource> |
CmsSecurityManager.readSubscribedDeletedResources(CmsRequestContext context,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom)
Returns the subscribed history resources that were deleted.
|
boolean |
CmsLoginManager.requiresPasswordChange(CmsObject cms,
CmsUser user)
Checks if a user is required to change his password now.
|
void |
CmsVisitedByFilter.setUser(CmsUser user)
Sets the user to check the visited resources for.
|
void |
CmsUserSettings.setUser(CmsUser user)
Sets the current user for the settings.
|
void |
I_CmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user)
Moves an user to the given organizational unit.
|
void |
CmsDriverManager.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user)
Moves an user to the given organizational unit.
|
void |
CmsSecurityManager.setUsersOrganizationalUnit(CmsRequestContext context,
CmsOrganizationalUnit orgUnit,
CmsUser user)
Moves an user to the given organizational unit.
|
void |
CmsLoginManager.unlockUser(CmsObject cms,
CmsUser user)
Unlocks a user who has exceeded his number of failed login attempts so that he can try to log in again.
|
void |
CmsDriverManager.updateLastLoginDate(CmsDbContext dbc,
CmsUser user)
Updates the last login date on the given user to the current time.
|
void |
CmsSecurityManager.updateLastLoginDate(CmsRequestContext context,
CmsUser user)
Updates the last login date on the given user to the current time.
|
void |
I_CmsUserDriver.writeUser(CmsDbContext dbc,
CmsUser user)
Updates the user information.
|
void |
CmsDriverManager.writeUser(CmsDbContext dbc,
CmsUser user)
Updates the user information.
|
void |
CmsSecurityManager.writeUser(CmsRequestContext context,
CmsUser user)
Updates the user information.
|
Constructor and Description |
---|
CmsUserSettings(CmsUser user)
Creates a user settings object with initialized settings of the user.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsUserDriver.createUser(CmsDbContext dbc,
CmsUUID id,
java.lang.String userFqn,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long lastlogin,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos) |
protected CmsUser |
CmsUserDriver.internalCreateUser(CmsDbContext dbc,
java.sql.ResultSet res)
Semi-constructor to create a
CmsUser instance from a JDBC result set. |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
CmsUUID id) |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn) |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn,
java.lang.String password,
java.lang.String remoteAddress) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsUser> |
CmsUserDriver.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
java.util.List<CmsUser> |
CmsUserDriver.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
protected java.util.List<CmsUser> |
CmsUserDriver.internalGetUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive,
boolean readAdditionalInfos)
Internal implementation for reading users of an OU, with or without additional infos.
|
java.util.List<CmsUser> |
CmsUserDriver.readUsersOfGroup(CmsDbContext dbc,
java.lang.String groupFqn,
boolean includeOtherOuUsers) |
java.util.List<CmsUser> |
CmsUserDriver.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams) |
Modifier and Type | Method and Description |
---|---|
CmsProject |
CmsProjectDriver.createProject(CmsDbContext dbc,
CmsUUID id,
CmsUser owner,
CmsGroup group,
CmsGroup managergroup,
java.lang.String projectFqn,
java.lang.String description,
int flags,
CmsProject.CmsProjectType type) |
long |
CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource) |
void |
CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
java.util.List<CmsProject> |
CmsProjectDriver.readProjectsForUser(CmsDbContext dbc,
CmsUser user) |
java.util.List<I_CmsHistoryResource> |
CmsSubscriptionDriver.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom) |
void |
CmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user) |
void |
CmsUserDriver.writeUser(CmsDbContext dbc,
CmsUser user) |
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsUserDriver.createUser(CmsDbContext dbc,
CmsUUID id,
java.lang.String userFqn,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long lastlogin,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos) |
protected CmsUser |
CmsUserDriver.internalCreateUser(CmsDbContext dbc,
CmsDAOUsers u)
Semi-constructor to create a
CmsUser instance from a JDBC result set. |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
CmsUUID id) |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn) |
CmsUser |
CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn,
java.lang.String password,
java.lang.String remoteAddress) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsUser> |
CmsUserDriver.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
java.util.List<CmsUser> |
CmsUserDriver.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
java.util.List<CmsUser> |
CmsUserDriver.readUsersOfGroup(CmsDbContext dbc,
java.lang.String groupFqn,
boolean includeOtherOuUsers) |
java.util.List<CmsUser> |
CmsUserDriver.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams) |
Modifier and Type | Method and Description |
---|---|
CmsProject |
CmsProjectDriver.createProject(CmsDbContext dbc,
CmsUUID id,
CmsUser owner,
CmsGroup group,
CmsGroup managergroup,
java.lang.String projectFqn,
java.lang.String description,
int flags,
CmsProject.CmsProjectType type) |
long |
CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource) |
void |
CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
java.util.List<CmsProject> |
CmsProjectDriver.readProjectsForUser(CmsDbContext dbc,
CmsUser user) |
java.util.List<I_CmsHistoryResource> |
CmsSubscriptionDriver.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom) |
void |
CmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user) |
void |
CmsUserDriver.writeUser(CmsDbContext dbc,
CmsUser user) |
Modifier and Type | Method and Description |
---|---|
void |
CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
Modifier and Type | Method and Description |
---|---|
void |
CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsObject.createUser(java.lang.String userFqn,
java.lang.String password,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user.
|
CmsUser |
CmsRequestContext.currentUser()
Deprecated.
use
CmsRequestContext.getCurrentUser() instead |
CmsUser |
CmsRequestContext.getCurrentUser()
Returns the current user object.
|
CmsUser |
CmsObject.importUser(java.lang.String id,
java.lang.String name,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos)
Creates a new user by import.
|
CmsUser |
CmsObject.readOwner(CmsProject project)
Reads the owner of a project.
|
CmsUser |
CmsObject.readUser(CmsUUID userId)
Reads a user based on its id.
|
CmsUser |
CmsObject.readUser(java.lang.String username)
Reads a user based on its name.
|
CmsUser |
CmsObject.readUser(java.lang.String username,
java.lang.String password)
Returns a user, if the password is correct.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsUser> |
CmsObject.getUsersOfGroup(java.lang.String groupname)
Returns all direct users of a given group.
|
java.util.List<CmsUser> |
CmsObject.getUsersOfGroup(java.lang.String groupname,
boolean includeOtherOus)
Returns all direct users of a given group.
|
java.util.Set<CmsUser> |
CmsObject.readResponsibleUsers(CmsResource resource)
Returns a set of users that are responsible for a specific resource.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CmsUser.getFullName(CmsUser user)
Returns the "full" name of the given user in the format
"{firstname} {lastname} ({username})" ,
or the empty String "" if the user is null. |
protected void |
CmsRequestContext.switchUser(CmsUser user,
CmsProject project,
java.lang.String ouFqn)
Switches the user in the context, required after a login.
|
void |
CmsObject.updateLastLoginDate(CmsUser user)
Updates the last login date on the given user to the current time.
|
void |
CmsObject.writeUser(CmsUser user)
Updates the user information.
|
Constructor and Description |
---|
CmsRequestContext(CmsUser user,
CmsProject project,
java.lang.String requestedUri,
CmsSiteMatcher requestMatcher,
java.lang.String siteRoot,
boolean isSecureRequest,
java.util.Locale locale,
java.lang.String encoding,
java.lang.String remoteAddr,
long requestTime,
CmsResourceTranslator directoryTranslator,
CmsResourceTranslator fileTranslator,
java.lang.String ouFqn)
Constructs a new request context.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsObjectWrapper.readUser(CmsUUID userId)
Delegate method for
CmsObject.readUser(CmsUUID) . |
Modifier and Type | Method and Description |
---|---|
CmsI18nInfo |
CmsLocaleManager.getI18nInfo(javax.servlet.http.HttpServletRequest req,
CmsUser user,
CmsProject project,
java.lang.String resource)
Returns the the appropriate locale/encoding for a request,
using the "right" locale handler for the given resource.
|
CmsI18nInfo |
I_CmsLocaleHandler.getI18nInfo(javax.servlet.http.HttpServletRequest req,
CmsUser user,
CmsProject project,
java.lang.String resource)
Returns the i18n information to use in the request context.
|
CmsI18nInfo |
CmsDefaultLocaleHandler.getI18nInfo(javax.servlet.http.HttpServletRequest req,
CmsUser user,
CmsProject project,
java.lang.String resourceName) |
Modifier and Type | Method and Description |
---|---|
protected void |
CmsExport.exportUser(org.dom4j.Element parent,
CmsUser user)
Exports one single user with all its data.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsJspLoginBean.getUser()
Returns the currently logged in user.
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
CmsJspTagUserTracking.generateSessionKey(java.lang.String prefix,
java.lang.String fileName,
boolean subFolder,
CmsUser user,
java.util.List<CmsGroup> groups)
Returns a unique session key depending on the values of the given parameters.
|
protected static boolean |
CmsJspTagUserTracking.isResourceSubscribed(CmsObject cms,
java.lang.String fileName,
boolean subFolder,
CmsUser user,
java.util.List<CmsGroup> groups,
javax.servlet.http.HttpServletRequest req)
Returns if the given resource is subscribed to the user or groups.
|
protected static boolean |
CmsJspTagUserTracking.isResourceVisited(CmsObject cms,
java.lang.String fileName,
boolean subFolder,
CmsUser user,
javax.servlet.http.HttpServletRequest req)
Returns if the given resource was visited by the user.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsJspVfsAccessBean.getCurrentUser()
Returns the current user from the context.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsLockFilter.getLockableByUserId()
Returns the user that can overwrite the locks.
|
CmsUser |
CmsLockFilter.getNotLockableByUserId()
Returns the user that can not overwrite the locks.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsLockManager.addResource(CmsDbContext dbc,
CmsResource resource,
CmsUser user,
CmsProject project,
CmsLockType type)
Adds a resource to the lock manager.
|
CmsLockFilter |
CmsLockFilter.filterLockableByUser(CmsUser user)
Returns an extended filter with the given user restriction.
|
CmsLockFilter |
CmsLockFilter.filterNotLockableByUser(CmsUser user)
Returns an extended filter with the given user restriction.
|
boolean |
CmsLock.isDirectlyOwnedBy(CmsUser user)
Returns
true if this is an exclusive, temporary exclusive, or
directly inherited lock, and the given user is the owner of this lock. |
boolean |
CmsLock.isDirectlyOwnedInProjectBy(CmsUser user,
CmsProject project)
Returns
true if this is an exclusive, temporary exclusive, or
directly inherited lock, and the given user is the owner of this lock,
checking also the project of the lock. |
boolean |
CmsLock.isExclusiveOwnedBy(CmsUser user)
Returns
true if this is an exclusive (or temporary exclusive) lock,
and the given user is the owner of this lock. |
boolean |
CmsLock.isExclusiveOwnedInProjectBy(CmsUser user,
CmsProject project)
Returns
true if this is an exclusive (or temporary exclusive) lock,
and the given user is the owner and the given project is the project of this lock. |
boolean |
CmsLock.isLockableBy(CmsUser user)
Checks if a resource can be locked by a user.
|
boolean |
CmsLock.isOwnedBy(CmsUser user)
Returns
true if the given user is the owner of this lock. |
boolean |
CmsLock.isOwnedInProjectBy(CmsUser user,
CmsProject project)
Returns
true if the given user is the owner of this lock,
and this lock belongs to the given project. |
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsBroadcast.getUser()
Returns the user that was the sender of this broadcast.
|
CmsUser |
CmsContextInfo.getUser()
Returns the user, or
null if the user
has not been configured. |
Modifier and Type | Method and Description |
---|---|
void |
CmsSessionManager.checkCreateSessionForUser(CmsUser user)
Checks whether a new session can be created for the user, and throws an exception if not.
|
void |
CmsSessionManager.killSession(CmsObject cms,
CmsUser user)
Kills all sessions for the given user.
|
void |
CmsSessionManager.sendBroadcast(CmsUser fromUser,
java.lang.String message,
CmsUser toUser)
Sends a broadcast to all sessions of a given user.
|
void |
CmsSessionManager.switchUser(CmsObject cms,
javax.servlet.http.HttpServletRequest req,
CmsUser user)
Switches the current user to the given user.
|
Constructor and Description |
---|
CmsBroadcast(CmsUser sender,
java.lang.String message)
Creates a new broadcast, with the current system time set as send time.
|
CmsContextInfo(CmsUser user,
CmsProject project,
java.lang.String requestedUri,
CmsSiteMatcher requestMatcher,
java.lang.String siteRoot,
boolean isSecureRequest,
java.util.Locale locale,
java.lang.String encoding,
java.lang.String remoteAddr,
long requestTime,
java.lang.String ouFqn)
Creates a new instance with all context variables initialized.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsMemoryMonitor.getCachedUser(java.lang.String key)
Returns the user cached with the given cache key or
null if not found. |
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsUser> |
CmsMemoryMonitor.getCachedUserList(java.lang.String key)
Returns the user list cached with the given cache key or
null if not found. |
Modifier and Type | Method and Description |
---|---|
void |
CmsMemoryMonitor.cacheUser(CmsUser user)
Caches the given user under its id AND the fully qualified name.
|
void |
CmsMemoryMonitor.clearUserCache(CmsUser user)
Clears the user cache for the given user.
|
void |
CmsMemoryMonitor.uncacheUser(CmsUser user)
Removes the given user from the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsMemoryMonitor.cacheUserList(java.lang.String key,
java.util.List<CmsUser> userList)
Caches the given list of users under the given cache key.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
A_CmsNotification.getReceiver()
Returns the receiver.
|
CmsUser |
CmsContentNotification.getResponsible()
Returns the responsible.
|
Constructor and Description |
---|
A_CmsNotification(CmsObject cms,
CmsUser receiver)
Creates a new A_CmsNotification.
|
CmsPublishNotification(CmsObject cms,
CmsUser receiver,
I_CmsReport report)
Creates a new CmsPublishNotification.
|
Modifier and Type | Method and Description |
---|---|
protected CmsUser |
CmsPublishEngine.getUser(CmsUUID userId)
Returns the user identified by the given id.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CmsPublishJobFinished> |
CmsPublishManager.getPublishHistory(CmsUser user)
Returns the publish history list with already publish jobs, filtered by the given user.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsPersistentLoginTokenHandler.validateToken(java.lang.String tokenString)
Validates a token and returns the matching user for which the token is valid.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsUser> |
CmsPrincipal.filterCoreUsers(java.util.List<CmsUser> users)
Filters out all users with flags greater than
. |
java.util.List<CmsUser> |
CmsRoleManager.getManageableUsers(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all users of organizational units for which the current user has
the
CmsRole.ACCOUNT_MANAGER role. |
java.util.List<CmsUser> |
CmsRoleManager.getManageableUsers(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus,
boolean includeWebusers)
Returns all users of organizational units for which the current user has
the
CmsRole.ACCOUNT_MANAGER role. |
java.util.List<CmsUser> |
CmsOrgUnitManager.getUsers(CmsObject cms,
java.lang.String ouFqn,
boolean recursive)
Returns all users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsRoleManager.getUsersOfRole(CmsObject cms,
CmsRole role,
boolean includeOtherOuUsers,
boolean directUsersOnly)
Returns all direct users of a given role, in the given organizational unit.
|
java.util.List<CmsUser> |
CmsOrgUnitManager.getUsersWithoutAdditionalInfo(CmsObject cms,
java.lang.String ouFqn,
boolean recursive)
Returns all users of the given organizational unit, without their additional info.
|
java.util.List<CmsUser> |
CmsOrgUnitManager.searchUsers(CmsObject cms,
CmsUserSearchParameters params)
Searches users which fit the given search parameters.
|
Modifier and Type | Method and Description |
---|---|
CmsPermissionSetCustom |
CmsAccessControlList.getPermissions(CmsUser user,
java.util.List<CmsGroup> groups,
java.util.List<CmsRole> roles)
Calculates the permissions of the given user and his groups from the access control list.
|
java.lang.String |
CmsAccessControlList.getPermissionString(CmsUser user,
java.util.List<CmsGroup> groups,
java.util.List<CmsRole> roles)
Calculates the permissions of the given user and his groups from the access control list.
|
java.util.List<CmsRole> |
CmsRoleManager.getRolesForResource(CmsObject cms,
CmsUser user,
CmsResource resource)
Returns all roles the given user has over the given resource.
|
void |
CmsPersistentLoginTokenHandler.invalidateToken(CmsUser user,
java.lang.String token)
Invalidates all tokens for the given user.
|
void |
CmsPersistentLoginTokenHandler.removeExpiredTokens(CmsUser user,
long now)
Removes expired tokens from the user's additional infos.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsUser> |
CmsPrincipal.filterCoreUsers(java.util.List<CmsUser> users)
Filters out all users with flags greater than
. |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<CmsUser> |
CmsUgcConfiguration.getUserForGuests()
Returns the user which should be used for VFS operations when guests submit the XML content form.
|
Constructor and Description |
---|
CmsUgcConfiguration(CmsUUID id,
com.google.common.base.Optional<CmsUser> userForGuests,
CmsGroup projectGroup,
java.lang.String resourceType,
CmsResource contentParentFolder,
java.lang.String namePattern,
java.util.Locale locale,
com.google.common.base.Optional<CmsResource> uploadParent,
com.google.common.base.Optional<java.lang.Long> maxUploadSize,
com.google.common.base.Optional<java.lang.Integer> maxContents,
com.google.common.base.Optional<java.lang.Long> queueTimeout,
com.google.common.base.Optional<java.lang.Integer> maxQueueLength,
boolean autoPublish,
com.google.common.base.Optional<java.util.List<java.lang.String>> validExtensions)
Creates a new form configuration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CmsUserIconHelper.getBigIconPath(CmsObject cms,
CmsUser user)
Returns the big ident-icon path for the given user.
|
java.lang.String |
CmsUserIconHelper.getSmallIconPath(CmsObject cms,
CmsUser user)
Returns the small ident-icon path for the given user.
|
void |
CmsUserIconHelper.handleImageUpload(CmsObject cms,
CmsUser user,
java.lang.String uploadedFile)
Handles a user image upload.
|
void |
CmsUserIconHelper.setUserImage(CmsObject cms,
CmsUser user,
java.lang.String rootPath)
Sets the user image for the given user.
|
Modifier and Type | Field and Description |
---|---|
protected CmsUser |
CmsChangePasswordDialog.m_user
The user.
|
protected CmsUser |
CmsSetPasswordDialog.m_user
The user.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsTokenValidator.getUser()
Gets the user.
|
Modifier and Type | Method and Description |
---|---|
static void |
CmsTokenValidator.clearToken(CmsObject cms,
CmsUser user)
Removes an authorization token from the user's additional information.
|
static java.lang.String |
CmsTokenValidator.createToken(CmsObject cms,
CmsUser user,
long currentTime)
Creates a new token for the given user and stores it in the user's additional info.
|
Constructor and Description |
---|
CmsChangePasswordDialog(CmsObject cms,
CmsUser user,
java.util.Locale locale)
Creates a new instance.
|
CmsPasswordChangeNotification(CmsObject cms,
CmsUser receiver,
java.lang.String link,
java.lang.String expiration)
Creates a new instance.
|
CmsSetPasswordDialog(CmsObject cms,
CmsUser user,
java.util.Locale locale)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<CmsUser> |
CmsExtendedWorkflowManager.getNotificationMailRecipients()
Gets the list of recipients for the notifications.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CmsExtendedWorkflowManager.sendNotification(CmsObject userCms,
CmsUser recipient,
CmsProject workflowProject,
java.util.List<CmsResource> resources)
Sends the notification for released resources.
|
Constructor and Description |
---|
CmsWorkflowNotification(CmsObject adminCms,
CmsObject userCms,
CmsUser receiver,
java.lang.String notificationContent,
CmsProject project,
java.util.List<CmsResource> resources,
java.lang.String link)
Creates a new workflow notification mail object.
|
Modifier and Type | Method and Description |
---|---|
CmsUser |
CmsWorkplaceSettings.getUser()
Returns the current workplace user.
|
Modifier and Type | Method and Description |
---|---|
CmsI18nInfo |
CmsWorkplaceManager.getI18nInfo(javax.servlet.http.HttpServletRequest req,
CmsUser user,
CmsProject project,
java.lang.String resource) |
void |
CmsWorkplaceSettings.setUser(CmsUser user)
Sets the current workplace user.
|