Class UserEntryImpl
java.lang.Object
org.nuxeo.ecm.core.api.security.impl.UserEntryImpl
- All Implemented Interfaces:
Serializable
,UserEntry
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPrivilege
(String permission) Adds a granted permission for this username.void
addPrivilege
(String permission, boolean isGranted) Adds a permission for this username.
-
Constructor Details
-
UserEntryImpl
-
-
Method Details
-
addPrivilege
Description copied from interface:UserEntry
Adds a granted permission for this username.- Specified by:
addPrivilege
in interfaceUserEntry
- Parameters:
permission
- the permission
-
addPrivilege
Description copied from interface:UserEntry
Adds a permission for this username.- Specified by:
addPrivilege
in interfaceUserEntry
- Parameters:
permission
- the permissionisGranted
- whether the permission is granted or denied
-
getUserName
- Specified by:
getUserName
in interfaceUserEntry
-
getGrantedPermissions
- Specified by:
getGrantedPermissions
in interfaceUserEntry
-
getDeniedPermissions
- Specified by:
getDeniedPermissions
in interfaceUserEntry
-