Uses of Interface
org.opencms.security.I_CmsPrincipal
Packages that use I_CmsPrincipal
Package
Description
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
This package contains the classes to deal with the OpenCms VFS history archive.
Access control and security classes for the OpenCms ACL permission system.
General code for the Vaadin UI.
Contains classes of the user manager app.
Contains permission dialog classes.
-
Uses of I_CmsPrincipal in org.opencms.db
Methods in org.opencms.db that return I_CmsPrincipalModifier and TypeMethodDescriptionCmsDriverManager.lookupPrincipal
(CmsDbContext dbc, String principalName) Lookup and read the user or group with the given name.CmsDriverManager.lookupPrincipal
(CmsDbContext dbc, CmsUUID principalId) Lookup and read the user or group with the given UUID.CmsSecurityManager.lookupPrincipal
(CmsRequestContext context, String principalName) Lookup and read the user or group with the given name.CmsSecurityManager.lookupPrincipal
(CmsRequestContext context, CmsUUID principalId) Lookup and read the user or group with the given UUID.Methods in org.opencms.db that return types with arguments of type I_CmsPrincipalModifier and TypeMethodDescriptionCmsDriverManager.readResponsiblePrincipals
(CmsDbContext dbc, CmsResource resource) Returns the set of users that are responsible for a specific resource.CmsSecurityManager.readResponsiblePrincipals
(CmsRequestContext context, CmsResource resource) Returns a set of users that are responsible for a specific resource.Methods in org.opencms.db with parameters of type I_CmsPrincipalModifier and TypeMethodDescriptionvoid
I_CmsHistoryDriver.writePrincipal
(CmsDbContext dbc, I_CmsPrincipal principal) Writes an historical entry for the given principal. -
Uses of I_CmsPrincipal in org.opencms.db.generic
Methods in org.opencms.db.generic with parameters of type I_CmsPrincipalModifier and TypeMethodDescriptionvoid
CmsHistoryDriver.writePrincipal
(CmsDbContext dbc, I_CmsPrincipal principal) -
Uses of I_CmsPrincipal in org.opencms.file
Classes in org.opencms.file that implement I_CmsPrincipalModifier and TypeClassDescriptionclass
A group principal in the OpenCms permission system.class
A user principal in the OpenCms permission system.Methods in org.opencms.file that return I_CmsPrincipalModifier and TypeMethodDescriptionCmsObject.lookupPrincipal
(String principalName) Lookups and reads the user or group with the given name.CmsObject.lookupPrincipal
(CmsUUID principalId) Lookups and reads the user or group with the given UUID.Methods in org.opencms.file that return types with arguments of type I_CmsPrincipalModifier and TypeMethodDescriptionCmsObject.readResponsiblePrincipals
(CmsResource resource) Returns a set of principals that are responsible for a specific resource. -
Uses of I_CmsPrincipal in org.opencms.file.history
Classes in org.opencms.file.history that implement I_CmsPrincipalModifier and TypeClassDescriptionclass
Describes an OpenCms historical principal entry. -
Uses of I_CmsPrincipal in org.opencms.security
Classes in org.opencms.security that implement I_CmsPrincipalModifier and TypeClassDescriptionclass
Common methods shared among user and group principals, also contains several utility functions to deal with principal instances.class
Wrapper around CmsRole objects so they can be used as principals.Methods in org.opencms.security that return I_CmsPrincipalModifier and TypeMethodDescriptionstatic I_CmsPrincipal
CmsPrincipal.readPrefixedPrincipal
(CmsObject cms, String name) Utility function to read a prefixed principal from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipal
CmsPrincipal.readPrincipal
(CmsObject cms, String name) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipal
CmsPrincipal.readPrincipal
(CmsObject cms, String type, String name) Utility function to read a principal of the given type from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipal
CmsPrincipal.readPrincipal
(CmsObject cms, CmsUUID id) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipal
CmsPrincipal.readPrincipalIncludingHistory
(CmsObject cms, CmsUUID id) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.Methods in org.opencms.security with parameters of type I_CmsPrincipalModifier and TypeMethodDescriptionint
CmsPrincipal.compareTo
(I_CmsPrincipal obj) static String
CmsPrincipal.getType
(I_CmsPrincipal principal) Gets the type of a principal.void
CmsAccessControlEntry.setFlagsForPrincipal
(I_CmsPrincipal principal) Sets the access flags to identify the given principal type. -
Uses of I_CmsPrincipal in org.opencms.ui
Method parameters in org.opencms.ui with type arguments of type I_CmsPrincipalModifier and TypeMethodDescriptionstatic com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils.getPrincipalContainer
(CmsObject cms, List<? extends I_CmsPrincipal> list, String captionID, String descID, String iconID, String ouID, String icon, List<com.vaadin.server.FontIcon> iconList) Get container for principal. -
Uses of I_CmsPrincipal in org.opencms.ui.apps.user
Methods in org.opencms.ui.apps.user with parameters of type I_CmsPrincipalModifier and TypeMethodDescriptionstatic CmsResourceInfo
CmsAccountsApp.getPrincipalInfo
(I_CmsPrincipal principal) Creates info panel for principals.void
CmsAccountsApp.handlePrincipal
(I_CmsPrincipal principal) -
Uses of I_CmsPrincipal in org.opencms.ui.dialogs.permissions
Methods in org.opencms.ui.dialogs.permissions with parameters of type I_CmsPrincipalModifier and TypeMethodDescriptionvoid
CmsPrincipalSelect.handlePrincipal
(I_CmsPrincipal principal) void
I_CmsPrincipalSelect.handlePrincipal
(I_CmsPrincipal principal) Handles a selected principal.void
CmsPrincipalSelectDialog.select
(I_CmsPrincipal value) Selects a principal and closes the dialog.