Uses of Interface
org.opencms.security.I_CmsPrincipal
-
Packages that use I_CmsPrincipal Package Description org.opencms.db Low-level database connection and access functionality.org.opencms.db.generic Generic (ANSI-SQL) implementation of the OpenCms database connector.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.file.history This package contains the classes to deal with the OpenCms VFS history archive.org.opencms.security Access control and security classes for the OpenCms ACL permission system.org.opencms.ui General code for the Vaadin UI.org.opencms.ui.apps.user Contains classes of the user manager app.org.opencms.ui.dialogs.permissions Contains permission dialog classes. -
-
Uses of I_CmsPrincipal in org.opencms.db
Methods in org.opencms.db that return I_CmsPrincipal Modifier and Type Method Description I_CmsPrincipal
CmsDriverManager. lookupPrincipal(CmsDbContext dbc, java.lang.String principalName)
Lookup and read the user or group with the given name.I_CmsPrincipal
CmsDriverManager. lookupPrincipal(CmsDbContext dbc, CmsUUID principalId)
Lookup and read the user or group with the given UUID.I_CmsPrincipal
CmsSecurityManager. lookupPrincipal(CmsRequestContext context, java.lang.String principalName)
Lookup and read the user or group with the given name.I_CmsPrincipal
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_CmsPrincipal Modifier and Type Method Description java.util.Set<I_CmsPrincipal>
CmsDriverManager. readResponsiblePrincipals(CmsDbContext dbc, CmsResource resource)
Returns the set of users that are responsible for a specific resource.java.util.Set<I_CmsPrincipal>
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_CmsPrincipal Modifier and Type Method Description void
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_CmsPrincipal Modifier and Type Method Description void
CmsHistoryDriver. writePrincipal(CmsDbContext dbc, I_CmsPrincipal principal)
-
Uses of I_CmsPrincipal in org.opencms.file
Classes in org.opencms.file that implement I_CmsPrincipal Modifier and Type Class Description class
CmsGroup
A group principal in the OpenCms permission system.class
CmsUser
A user principal in the OpenCms permission system.Methods in org.opencms.file that return I_CmsPrincipal Modifier and Type Method Description I_CmsPrincipal
CmsObject. lookupPrincipal(java.lang.String principalName)
Lookups and reads the user or group with the given name.I_CmsPrincipal
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_CmsPrincipal Modifier and Type Method Description java.util.Set<I_CmsPrincipal>
CmsObject. 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_CmsPrincipal Modifier and Type Class Description class
CmsHistoryPrincipal
Describes an OpenCms historical principal entry. -
Uses of I_CmsPrincipal in org.opencms.security
Classes in org.opencms.security that implement I_CmsPrincipal Modifier and Type Class Description class
CmsPrincipal
Common methods shared among user and group principals, also contains several utility functions to deal with principal instances.class
CmsRoleAsPrincipal
Wrapper around CmsRole objects so they can be used as principals.Methods in org.opencms.security that return I_CmsPrincipal Modifier and Type Method Description static I_CmsPrincipal
CmsPrincipal. readPrefixedPrincipal(CmsObject cms, java.lang.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, java.lang.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, java.lang.String type, java.lang.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_CmsPrincipal Modifier and Type Method Description int
CmsPrincipal. compareTo(I_CmsPrincipal obj)
static java.lang.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_CmsPrincipal Modifier and Type Method Description static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils. getPrincipalContainer(CmsObject cms, java.util.List<? extends I_CmsPrincipal> list, java.lang.String captionID, java.lang.String descID, java.lang.String iconID, java.lang.String ouID, java.lang.String icon, java.util.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_CmsPrincipal Modifier and Type Method Description static 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_CmsPrincipal Modifier and Type Method Description void
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.
-