Uses of Class
org.opencms.security.CmsRoleViolationException
Package
Description
Server side of the sitemap view.
Low-level database connection and access functionality.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
Provides core support for GWT.
Contains functions to import and export resources from the OpenCms VFS.
Low-level functions to manage the loading of resources from the OpenCms VFS.
Provides the main OpenCms "operating system".
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
Implements the main full text search and indexing functions available in OpenCms.
Contains the SOLR based spellcheck service classes.
Access control and security classes for the OpenCms ACL permission system.
Contains the functionality for the static HTML page export.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.
Basic XML functionality and utilities used by OpenCms to maintain XML documents and content.
-
Uses of CmsRoleViolationException in org.opencms.ade.sitemap
-
Uses of CmsRoleViolationException in org.opencms.db
Modifier and TypeMethodDescriptionvoid
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, 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.CmsSecurityManager.createGroup
(CmsRequestContext context, String name, String description, int flags, String parent) Creates a new user group.CmsSecurityManager.createProject
(CmsRequestContext context, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.CmsSecurityManager.createPropertyDefinition
(CmsRequestContext context, String name) Creates a property definition.CmsSecurityManager.createUser
(CmsRequestContext context, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.void
CmsSecurityManager.deleteGroup
(CmsRequestContext context, 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, 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.CmsSecurityManager.importUser
(CmsRequestContext context, String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, 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, String username, 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, String groupName, String parentGroupName) Sets a new parent-group for an already existing group.void
CmsSecurityManager.setPassword
(CmsRequestContext context, String username, 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
Modifier and TypeMethodDescriptionvoid
CmsObject.updateLastLoginDate
(CmsUser user) Updates the last login date on the given user to the current time. -
Uses of CmsRoleViolationException in org.opencms.gwt
Modifier and TypeMethodDescriptionvoid
CmsGwtService.checkPermissions
(CmsObject cms) Checks the permissions of the current user to match the required security level. -
Uses of CmsRoleViolationException in org.opencms.importexport
Modifier and TypeMethodDescriptionvoid
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, String importFile, 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, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsVfsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) void
I_CmsImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
I_CmsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) Imports the data into the Cms.ModifierConstructorDescriptionCmsExport
(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
Modifier and TypeMethodDescriptionvoid
CmsResourceManager.initialize
(CmsObject cms) Initializes all additional resource types stored in the modules. -
Uses of CmsRoleViolationException in org.opencms.main
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionvoid
CmsModuleManager.deleteModule
(CmsObject cms, String moduleName, boolean replace, boolean preserveLibs, I_CmsReport report) Deletes a module from the configuration.void
CmsModuleManager.deleteModule
(CmsObject cms, 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, String importFile, 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
Modifier and TypeMethodDescriptionvoid
CmsScheduleManager.initialize
(CmsObject adminCms) Initializes the OpenCms scheduler.void
CmsScheduleManager.scheduleJob
(CmsObject cms, CmsScheduledJobInfo jobInfo) Adds a new job to the scheduler.CmsScheduleManager.unscheduleJob
(CmsObject cms, String jobId) Removes a currently scheduled job from the scheduler. -
Uses of CmsRoleViolationException in org.opencms.search
Modifier and TypeMethodDescriptionvoid
CmsSearchManager.initialize
(CmsObject cms) Initializes the search manager. -
Uses of CmsRoleViolationException in org.opencms.search.solr.spellchecking
Modifier and TypeMethodDescriptionvoid
CmsSolrSpellchecker.parseAndAddDictionaries
(CmsObject cms) Parses and adds dictionaries to the Solr index. -
Uses of CmsRoleViolationException in org.opencms.security
Modifier and TypeMethodDescriptionCmsRole.createRoleViolationException
(CmsRequestContext requestContext) Returns a role violation exception configured with a localized, role specific message for this role.CmsRole.createRoleViolationExceptionForOrgUnit
(CmsRequestContext requestContext, String orgUnitFqn) Returns a role violation exception configured with a localized, role specific message for this role.CmsRole.createRoleViolationExceptionForResource
(CmsRequestContext requestContext, CmsResource resource) Returns a role violation exception configured with a localized, role specific message for this role.Modifier and TypeMethodDescriptionvoid
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, 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
Modifier and TypeMethodDescriptionvoid
CmsLinkManager.setLinkSubstitutionHandler
(CmsObject cms, I_CmsLinkSubstitutionHandler linkSubstitutionHandler) Sets the internal link substitution handler. -
Uses of CmsRoleViolationException in org.opencms.workplace
Modifier and TypeMethodDescriptionprotected 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
-
Uses of CmsRoleViolationException in org.opencms.workplace.tools
Modifier and TypeMethodDescriptionCmsToolDialog.initAdminTool()
Initializes the admin tool main view. -
Uses of CmsRoleViolationException in org.opencms.xml
Modifier and TypeMethodDescriptionvoid
CmsXmlContentTypeManager.initialize
(CmsObject cms) Initializes XML content types managed in this XML content type manager.
CmsImportExportManager.importData(CmsObject, I_CmsReport, CmsImportParameters)
instead