Uses of Interface
org.opencms.security.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
Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionvoid
CmsHistoryDriver.writePrincipal
(CmsDbContext dbc, I_CmsPrincipal principal) -
Uses of I_CmsPrincipal in org.opencms.file
Modifier and TypeClassDescriptionclass
A group principal in the OpenCms permission system.class
A user principal in the OpenCms permission system.Modifier 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.Modifier 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
Modifier and TypeClassDescriptionclass
Describes an OpenCms historical principal entry. -
Uses of I_CmsPrincipal in org.opencms.security
Modifier 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.Modifier 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.Modifier 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
Modifier 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
Modifier 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
Modifier 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.