Package org.nuxeo.ecm.core.api.security
Interface UserEntry
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
UserEntryImpl
public interface UserEntry extends Serializable
A user name, and a set of permissions granted/denied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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 usedSet<String>
getDeniedPermissions()
Set<String>
getGrantedPermissions()
String
getUserName()
-
-
-
Method Detail
-
getUserName
String getUserName()
-
addPrivilege
void addPrivilege(String permission)
Adds a granted permission for this username.- Parameters:
permission
- the permission- Since:
- 5.9.4
-
addPrivilege
void addPrivilege(String permission, boolean granted)
Adds a permission for this username.- Parameters:
permission
- the permissiongranted
- whether the permission is granted or denied- Since:
- 5.9.4
-
addPrivilege
@Deprecated void addPrivilege(String permission, boolean granted, boolean readOnly)
Deprecated.since 5.9.4 readonly is not usedAdds a permission for this username.
-
-