Uses of Class
org.opencms.security.CmsRoleViolationException
-
Packages that use CmsRoleViolationException Package Description org.opencms.ade.sitemap Server side of the sitemap view.org.opencms.db Low-level database connection and access functionality.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.gwt Provides core support for GWT.org.opencms.importexport Contains functions to import and export resources from the OpenCms VFS.org.opencms.loader Low-level functions to manage the loading of resources from the OpenCms VFS.org.opencms.main Provides the main OpenCms "operating system".org.opencms.module OpenCms modules provide a powerful, standardized way to extend the core OpenCms functionality.org.opencms.scheduler The OpenCms scheduler provides a facility to run jobs in a regular schedule, much like the "cron" faciltiy in UNIX systems.org.opencms.search Implements the main full text search and indexing functions available in OpenCms.org.opencms.search.solr.spellchecking Contains the SOLR based spellcheck service classes.org.opencms.security Access control and security classes for the OpenCms ACL permission system.org.opencms.staticexport Contains the functionality for the static HTML page export.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.org.opencms.workplace.editors Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.org.opencms.workplace.tools Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.org.opencms.xml Basic XML functionality and utilities used by OpenCms to maintain XML documents and content. -
-
Uses of CmsRoleViolationException in org.opencms.ade.sitemap
Methods in org.opencms.ade.sitemap that throw CmsRoleViolationException Modifier and Type Method Description void
CmsVfsSitemapService. checkPermissions(CmsObject cms)
-
Uses of CmsRoleViolationException in org.opencms.db
Methods in org.opencms.db that throw CmsRoleViolationException Modifier and Type Method Description void
CmsSecurityManager. checkManagerOfProjectRole(CmsDbContext dbc, CmsProject project)
Checks if the current user has management access to the given project.void
CmsSecurityManager. checkRole(CmsDbContext dbc, CmsRole role)
Checks if the user of the current database context has permissions to impersonate the given role in the given organizational unit.void
CmsSecurityManager. checkRole(CmsRequestContext context, CmsRole role)
Checks if the user of the current context has permissions to impersonate the given role.void
CmsSecurityManager. checkRoleForResource(CmsDbContext dbc, CmsRole role, CmsResource resource)
Checks if the user of the current database context has permissions to impersonate the given role for the given resource.void
CmsSecurityManager. checkRoleForResource(CmsRequestContext context, CmsRole role, CmsResource resource)
Checks if the user of the current context has permissions to impersonate the given role for the given resource.protected void
CmsSecurityManager. checkRoleForUserModification(CmsDbContext dbc, java.lang.String username, CmsRole role)
Checks that the current user has enough permissions to modify the given user.void
CmsSecurityManager. copyResourceToProject(CmsRequestContext context, CmsResource resource)
Copies a resource to the current project of the user.int
CmsSecurityManager. countLockedResources(CmsRequestContext context, CmsUUID id)
Counts the locked resources in this project.CmsGroup
CmsSecurityManager. createGroup(CmsRequestContext context, java.lang.String name, java.lang.String description, int flags, java.lang.String parent)
Creates a new user group.CmsProject
CmsSecurityManager. createProject(CmsRequestContext context, java.lang.String name, java.lang.String description, java.lang.String groupname, java.lang.String managergroupname, CmsProject.CmsProjectType projecttype)
Creates a project.CmsPropertyDefinition
CmsSecurityManager. createPropertyDefinition(CmsRequestContext context, java.lang.String name)
Creates a property definition.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.void
CmsSecurityManager. deleteGroup(CmsRequestContext context, java.lang.String name)
Delete a user group.void
CmsSecurityManager. deleteGroup(CmsRequestContext context, CmsUUID groupId, CmsUUID replacementId)
Deletes a group, where all permissions, users and children of the group are transfered to a replacement group.void
CmsSecurityManager. deleteHistoricalVersions(CmsRequestContext context, int versionsToKeep, int versionsDeleted, long timeDeleted, I_CmsReport report)
Deletes the versions from the history tables, keeping the given number of versions per resource.void
CmsSecurityManager. deleteProject(CmsRequestContext context, CmsUUID projectId)
Deletes a project.void
CmsSecurityManager. deletePropertyDefinition(CmsRequestContext context, java.lang.String name)
Deletes a property definition.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.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.void
CmsSubscriptionManager. initialize(CmsObject cms)
Initializes this subscription manager with the OpenCms system configuration.void
CmsLoginManager. removeLoginMessage(CmsObject cms)
Removes the current login message.void
CmsSecurityManager. removeResourceFromProject(CmsRequestContext context, CmsResource resource)
Removes a resource from the current project of the user.void
CmsSecurityManager. removeUserFromGroup(CmsRequestContext context, java.lang.String username, java.lang.String groupname, boolean readRoles)
Removes a user from a group.void
CmsLoginManager. setBeforeLoginMessage(CmsObject cms, CmsLoginMessage message)
Sets the before login message to display on the login form.void
CmsLoginManager. setLoginMessage(CmsObject cms, CmsLoginMessage message)
Sets the login message to display if a user logs in.void
CmsSecurityManager. setParentGroup(CmsRequestContext context, java.lang.String groupName, java.lang.String parentGroupName)
Sets a new parent-group for an already existing group.void
CmsSecurityManager. setPassword(CmsRequestContext context, java.lang.String username, java.lang.String newPassword)
Sets the password for a user.void
CmsSecurityManager. unlockProject(CmsRequestContext context, CmsUUID projectId)
Unlocks all resources in this project.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
CmsSecurityManager. updateLastLoginDate(CmsRequestContext context, CmsUser user)
Updates the last login date on the given user to the current time.void
CmsSecurityManager. writeGroup(CmsRequestContext context, CmsGroup group)
Writes an already existing group.void
CmsSecurityManager. writeProject(CmsRequestContext context, CmsProject project)
Writes an already existing project.void
CmsSecurityManager. writeUser(CmsRequestContext context, CmsUser user)
Updates the user information. -
Uses of CmsRoleViolationException in org.opencms.file
Methods in org.opencms.file that throw CmsRoleViolationException Modifier and Type Method Description void
CmsObject. updateLastLoginDate(CmsUser user)
Updates the last login date on the given user to the current time. -
Uses of CmsRoleViolationException in org.opencms.gwt
Methods in org.opencms.gwt that throw CmsRoleViolationException Modifier and Type Method Description void
CmsGwtService. checkPermissions(CmsObject cms)
Checks the permissions of the current user to match the required security level. -
Uses of CmsRoleViolationException in org.opencms.importexport
Methods in org.opencms.importexport that throw CmsRoleViolationException Modifier and Type Method Description void
CmsImportExportManager. exportData(CmsObject cms, I_CmsImportExportHandler handler, I_CmsReport report)
Checks if the current user has permissions to export Cms data of a specified export handler, and if so, triggers the handler to write the export.void
CmsVfsImportExportHandler. exportData(CmsObject cms, I_CmsReport report)
void
I_CmsImportExportHandler. exportData(CmsObject cms, I_CmsReport report)
Exports the data from the Cms.void
CmsImportExportManager. importData(CmsObject cms, java.lang.String importFile, java.lang.String importPath, I_CmsReport report)
Deprecated.void
CmsImportExportManager. importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters)
Checks if the current user has permissions to import data into the Cms, and if so, creates a new import handler instance that imports the data.void
CmsVfsImportExportHandler. importData(CmsObject cms, java.lang.String importFile, java.lang.String importPath, I_CmsReport report)
Deprecated.void
CmsVfsImportExportHandler. importData(CmsObject cms, I_CmsReport report)
void
I_CmsImportExportHandler. importData(CmsObject cms, java.lang.String importFile, java.lang.String importPath, I_CmsReport report)
Deprecated.void
I_CmsImportExportHandler. importData(CmsObject cms, I_CmsReport report)
Imports the data into the Cms.Constructors in org.opencms.importexport that throw CmsRoleViolationException Constructor Description CmsExport(CmsObject cms, I_CmsReport report)
Constructs a new export.CmsImport(CmsObject cms, I_CmsReport report)
Constructs a new import object which imports the resources from an OpenCms export zip file or a folder in the "real" file system. -
Uses of CmsRoleViolationException in org.opencms.loader
Methods in org.opencms.loader that throw CmsRoleViolationException Modifier and Type Method Description void
CmsResourceManager. initialize(CmsObject cms)
Initializes all additional resource types stored in the modules. -
Uses of CmsRoleViolationException in org.opencms.main
Methods in org.opencms.main that throw CmsRoleViolationException Modifier and Type Method Description protected CmsObject
OpenCmsCore. initCmsObject(CmsObject adminCms, CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided. -
Uses of CmsRoleViolationException in org.opencms.module
Methods in org.opencms.module that throw CmsRoleViolationException Modifier and Type Method Description void
CmsModuleManager. deleteModule(CmsObject cms, java.lang.String moduleName, boolean replace, boolean preserveLibs, I_CmsReport report)
Deletes a module from the configuration.void
CmsModuleManager. deleteModule(CmsObject cms, java.lang.String moduleName, boolean replace, I_CmsReport report)
Deletes a module from the configuration.void
CmsModuleImportExportHandler. exportData(CmsObject cms, I_CmsReport report)
void
CmsModuleImportExportHandler. importData(CmsObject cms, java.lang.String importFile, java.lang.String importPath, I_CmsReport report)
Deprecated.void
CmsModuleImportExportHandler. importData(CmsObject cms, I_CmsReport report)
protected void
CmsModule. initialize(CmsObject cms)
Initializes this module, also freezing the module configuration.void
CmsModuleManager. initialize(CmsObject cms, CmsConfigurationManager configurationManager)
Initializes all module instance classes managed in this module manager.void
CmsModuleManager. updateModule(CmsObject cms, CmsModule module)
Updates a already configured module with new values. -
Uses of CmsRoleViolationException in org.opencms.scheduler
Methods in org.opencms.scheduler that throw CmsRoleViolationException Modifier and Type Method Description void
CmsScheduleManager. initialize(CmsObject adminCms)
Initializes the OpenCms scheduler.void
CmsScheduleManager. scheduleJob(CmsObject cms, CmsScheduledJobInfo jobInfo)
Adds a new job to the scheduler.CmsScheduledJobInfo
CmsScheduleManager. unscheduleJob(CmsObject cms, java.lang.String jobId)
Removes a currently scheduled job from the scheduler. -
Uses of CmsRoleViolationException in org.opencms.search
Methods in org.opencms.search that throw CmsRoleViolationException Modifier and Type Method Description void
CmsSearchManager. initialize(CmsObject cms)
Initializes the search manager. -
Uses of CmsRoleViolationException in org.opencms.search.solr.spellchecking
Methods in org.opencms.search.solr.spellchecking that throw CmsRoleViolationException Modifier and Type Method Description void
CmsSolrSpellchecker. parseAndAddDictionaries(CmsObject cms)
Parses and adds dictionaries to the Solr index. -
Uses of CmsRoleViolationException in org.opencms.security
Methods in org.opencms.security that return CmsRoleViolationException Modifier and Type Method Description CmsRoleViolationException
CmsRole. createRoleViolationException(CmsRequestContext requestContext)
Returns a role violation exception configured with a localized, role specific message for this role.CmsRoleViolationException
CmsRole. createRoleViolationExceptionForOrgUnit(CmsRequestContext requestContext, java.lang.String orgUnitFqn)
Returns a role violation exception configured with a localized, role specific message for this role.CmsRoleViolationException
CmsRole. createRoleViolationExceptionForResource(CmsRequestContext requestContext, CmsResource resource)
Returns a role violation exception configured with a localized, role specific message for this role.Methods in org.opencms.security that throw CmsRoleViolationException Modifier and Type Method Description void
CmsRoleManager. checkRole(CmsObject cms, CmsRole role)
Checks if the user of this OpenCms context is a member of the given role for the given organizational unit.void
CmsRoleManager. checkRoleForResource(CmsObject cms, CmsRole role, java.lang.String resourceName)
Checks if the user of this OpenCms context is a member of the given role for the given resource. -
Uses of CmsRoleViolationException in org.opencms.staticexport
Methods in org.opencms.staticexport that throw CmsRoleViolationException Modifier and Type Method Description void
CmsLinkManager. setLinkSubstitutionHandler(CmsObject cms, I_CmsLinkSubstitutionHandler linkSubstitutionHandler)
Sets the internal link substitution handler. -
Uses of CmsRoleViolationException in org.opencms.workplace
Methods in org.opencms.workplace that throw CmsRoleViolationException Modifier and Type Method Description protected void
CmsWorkplace. checkRole()
Checks that the current user is a workplace user.void
CmsWorkplaceManager. initialize(CmsObject cms)
Initializes the workplace manager with the OpenCms system configuration.void
CmsWorkplaceManager. setFileViewSettings(CmsObject cms, CmsRfsFileViewer fileViewSettings)
Sets the system-wide file view settings for the workplace. -
Uses of CmsRoleViolationException in org.opencms.workplace.editors
Methods in org.opencms.workplace.editors that throw CmsRoleViolationException Modifier and Type Method Description protected void
CmsEditorBase. checkRole()
Checks that the current user is a workplace user.protected void
CmsPreEditorAction. checkRole()
Checks that the current user is a workplace user. -
Uses of CmsRoleViolationException in org.opencms.workplace.tools
Methods in org.opencms.workplace.tools that throw CmsRoleViolationException Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String[]>
CmsToolDialog. initAdminTool()
Initializes the admin tool main view. -
Uses of CmsRoleViolationException in org.opencms.xml
Methods in org.opencms.xml that throw CmsRoleViolationException Modifier and Type Method Description void
CmsXmlContentTypeManager. initialize(CmsObject cms)
Initializes XML content types managed in this XML content type manager.
-