Uses of Class
org.opencms.security.CmsSecurityException
Packages that use CmsSecurityException
Package
Description
Contains functions for the detail pages in OpenCms.
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.
The implementations of the core resource types for the VFS are located here.
Provides the main OpenCms "operating system".
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Classes to handle the OpenCms publish process.
Access control and security classes for the OpenCms ACL permission system.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
-
Uses of CmsSecurityException in org.opencms.ade.detailpage
Methods in org.opencms.ade.detailpage that throw CmsSecurityExceptionModifier and TypeMethodDescriptionCmsDetailPageResourceHandler.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) -
Uses of CmsSecurityException in org.opencms.db
Methods in org.opencms.db that throw CmsSecurityExceptionModifier and TypeMethodDescriptionvoidCmsDriverManager.changeLock(CmsDbContext dbc, CmsResource resource, CmsLockType lockType) Changes the lock of a resource to the current user, that is "steals" the lock from another user.protected voidCmsSecurityManager.checkPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.protected voidCmsSecurityManager.checkPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.voidCmsSecurityManager.checkPermissions(CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.protected voidCmsSecurityManager.checkPermissions(CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.CmsPermissionCheckResult permissions) Applies the permission check result of a previous call toCmsSecurityManager.hasPermissions(CmsRequestContext, CmsResource, CmsPermissionSet, boolean, CmsResourceFilter).voidCmsSecurityManager.chflags(CmsRequestContext context, CmsResource resource, int flags) Changes the resource flags of a resource.voidCmsSecurityManager.chtype(CmsRequestContext context, CmsResource resource, int type) Changes the resource type of a resource.voidCmsSecurityManager.copyAccessControlEntries(CmsRequestContext context, CmsResource source, CmsResource destination) Copies the access control entries of a given resource to a destination resource.voidCmsSecurityManager.copyResource(CmsRequestContext context, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.CmsSecurityManager.createPropertyDefinition(CmsRequestContext context, String name) Creates a property definition.voidCmsSecurityManager.deleteGroup(CmsRequestContext context, String name) Delete a user group.voidCmsSecurityManager.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.voidCmsSecurityManager.deletePropertyDefinition(CmsRequestContext context, String name) Deletes a property definition.voidCmsSecurityManager.deleteResource(CmsRequestContext context, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.protected voidCmsSecurityManager.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.voidCmsSecurityManager.importAccessControlEntries(CmsRequestContext context, CmsResource resource, List<CmsAccessControlEntry> acEntries) Writes a list of access control entries as new access control entries of a given resource.voidCmsSecurityManager.moveResource(CmsRequestContext context, CmsResource source, String destination) Moves a resource.CmsSecurityManager.readChildResources(CmsRequestContext context, CmsResource resource, CmsResourceFilter filter, boolean getFolders, boolean getFiles) Returns the child resources of a resource, that is the resources contained in a folder.CmsSecurityManager.readDefaultFile(CmsRequestContext context, CmsResource resource, CmsResourceFilter resourceFilter) Returns the default file for the given folder.CmsSecurityManager.readResources(CmsRequestContext context, CmsResource parent, CmsResourceFilter filter, boolean readTree) Reads all resources below the given path matching the filter criteria, including the full tree below the path only in case thereadTreeparameter istrue.voidCmsSecurityManager.removeAccessControlEntry(CmsRequestContext context, CmsResource resource, CmsUUID principal) Removes an access control entry for a given resource and principal.voidCmsDriverManager.removeUserFromGroup(CmsDbContext dbc, String username, String groupname, boolean readRoles) Removes a user from a group.voidCmsSecurityManager.replaceResource(CmsRequestContext context, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.voidCmsDriverManager.resetPassword(CmsDbContext dbc, String username, String oldPassword, CmsSecondFactorInfo secondFactor, String newPassword) Resets the password for a specified user.voidCmsSecurityManager.resetPassword(CmsRequestContext context, String username, String oldPassword, CmsSecondFactorInfo secondFactor, String newPassword) Resets the password for a specified user.protected voidCmsDriverManager.resetResourcesInProject(CmsDbContext dbc, CmsUUID projectId, List<CmsResource> modifiedFiles, List<CmsResource> modifiedFolders) Resets the resources in a project to their online state.voidCmsSecurityManager.restoreResource(CmsRequestContext context, CmsResource resource, int version) Restores a resource in the current project with the given version from the historical archive.voidCmsSecurityManager.setDateExpired(CmsRequestContext context, CmsResource resource, long dateExpired) Changes the "expire" date of a resource.voidCmsSecurityManager.setDateLastModified(CmsRequestContext context, CmsResource resource, long dateLastModified) Changes the "last modified" time stamp of a resource.voidCmsSecurityManager.setDateReleased(CmsRequestContext context, CmsResource resource, long dateReleased) Changes the "release" date of a resource.voidCmsSecurityManager.undoChanges(CmsRequestContext context, CmsResource resource, CmsResource.CmsResourceUndoMode mode) Undos all changes in the resource by restoring the version from the online project to the current offline project.voidCmsSecurityManager.unlockResource(CmsRequestContext context, CmsResource resource) Unlocks a resource.voidCmsDriverManager.validatePassword(String password) This method checks if a new password follows the rules for new passwords, which are defined by a Class implementing theinterface and configured in the opencms.properties file.I_CmsPasswordHandlervoidCmsSecurityManager.validatePassword(String password) Checks if a new password follows the rules for new passwords, which are defined by a Class implementing theinterface and configured in the opencms.properties file.I_CmsPasswordHandlervoidCmsSecurityManager.writeAccessControlEntry(CmsRequestContext context, CmsResource resource, CmsAccessControlEntry ace) Writes an access control entries to a given resource.CmsSecurityManager.writeFile(CmsRequestContext context, CmsFile resource) Writes a resource to the OpenCms VFS, including it's content.voidCmsSecurityManager.writePropertyObject(CmsRequestContext context, CmsResource resource, CmsProperty property) Writes a property for a specified resource.voidCmsSecurityManager.writePropertyObjects(CmsRequestContext context, CmsResource resource, List<CmsProperty> properties) Writes a list of properties for a specified resource.voidCmsSecurityManager.writeResource(CmsRequestContext context, CmsResource resource) Writes a resource to the OpenCms VFS. -
Uses of CmsSecurityException in org.opencms.file
Methods in org.opencms.file that throw CmsSecurityExceptionModifier and TypeMethodDescriptionCmsObject.readDefaultFile(String resourceNameOrID) Returns the default resource for the given folder.CmsObject.readDefaultFile(String resourceNameOrID, CmsResourceFilter filter) Returns the default resource for the given folder.CmsObject.readDefaultFile(CmsResource folderResource, CmsResourceFilter resourceFilter) Returns the default resource for the given folder.voidCmsObject.validatePassword(String password) This method checks if a new password follows the rules for new passwords, which are defined by a Class implementing theinterface and configured in the opencms.properties file.I_CmsPasswordHandler -
Uses of CmsSecurityException in org.opencms.file.types
Methods in org.opencms.file.types that throw CmsSecurityExceptionModifier and TypeMethodDescriptionCmsResourceTypeImage.writeFile(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) -
Uses of CmsSecurityException in org.opencms.main
Methods in org.opencms.main that throw CmsSecurityExceptionModifier and TypeMethodDescriptionCmsAliasResourceHandler.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) I_CmsResourceInit.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Possibility to modify or change the CmsFile with the CmsObject. -
Uses of CmsSecurityException in org.opencms.module
Methods in org.opencms.module that throw CmsSecurityException -
Uses of CmsSecurityException in org.opencms.pdftools
Methods in org.opencms.pdftools that throw CmsSecurityExceptionModifier and TypeMethodDescriptionCmsPdfResourceHandler.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
Uses of CmsSecurityException in org.opencms.publish
Methods in org.opencms.publish that throw CmsSecurityExceptionModifier and TypeMethodDescriptionvoidCmsPublishManager.abortPublishJob(CmsObject cms, CmsPublishJobEnqueued publishJob, boolean removeJob) Aborts the given publish job. -
Uses of CmsSecurityException in org.opencms.security
Subclasses of CmsSecurityException in org.opencms.securityModifier and TypeClassDescriptionclassSignals that an attempt to authenticate (login) has a user has failed.classCustom login exception whose message will be displayed to the user if the login fails.classA permission violation occurs if a user without tries to access or maipulate a VFS resource without the required permissions.classA role violation occurs if a user without permissions tries to access a protected OpenCms system feature that can only be accessed by users in certain roles.classSignals that an attempt to authenticate (login) a user has failed because the user had to many invalid logins.Methods in org.opencms.security that throw CmsSecurityExceptionModifier and TypeMethodDescriptionvoidCmsAdvancedPasswordHandler.validatePassword(String password) voidCmsDefaultPasswordHandler.validatePassword(String password) voidI_CmsPasswordHandler.validatePassword(String password) This method checks if a new password follows the rules for new passwords, which are defined by a Class configured in the opencms.properties file. -
Uses of CmsSecurityException in org.opencms.workplace
Methods in org.opencms.workplace that throw CmsSecurityExceptionModifier and TypeMethodDescriptionvoidCmsWorkplaceManager.checkAdeGalleryUpload(CmsObject cms) Checks if the user in the given context has permissions for uploading.