public interface UserEntry extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addPrivilege(String permission)
Adds a granted permission for this username.
|
void |
addPrivilege(String permission,
boolean granted)
Adds a permission for this username.
|
void |
addPrivilege(String permission,
boolean granted,
boolean readOnly)
Deprecated.
since 5.9.4 readonly is not used
|
Set<String> |
getDeniedPermissions() |
Set<String> |
getGrantedPermissions() |
String |
getUserName() |
String getUserName()
void addPrivilege(String permission)
permission
- the permissionvoid addPrivilege(String permission, boolean granted)
permission
- the permissiongranted
- whether the permission is granted or denied@Deprecated void addPrivilege(String permission, boolean granted, boolean readOnly)
Copyright © 2015 Nuxeo SA. All rights reserved.