Package org.nuxeo.ecm.core.api.security
Interface UserEntry
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
UserEntryImpl
A user name, and a set of permissions granted/denied.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPrivilege
(String permission) Adds a granted permission for this username.void
addPrivilege
(String permission, boolean granted) Adds a permission for this username.
-
Method Details
-
getUserName
String getUserName() -
getGrantedPermissions
-
getDeniedPermissions
-
addPrivilege
Adds a granted permission for this username.- Parameters:
permission
- the permission- Since:
- 5.9.4
-
addPrivilege
Adds a permission for this username.- Parameters:
permission
- the permissiongranted
- whether the permission is granted or denied- Since:
- 5.9.4
-