Class UserEntryImpl
- java.lang.Object
-
- org.nuxeo.ecm.core.api.security.impl.UserEntryImpl
-
- All Implemented Interfaces:
Serializable
,UserEntry
public class UserEntryImpl extends Object implements UserEntry
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserEntryImpl(String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPrivilege(String permission)
Adds a granted permission for this username.void
addPrivilege(String permission, boolean isGranted)
Adds a permission for this username.void
addPrivilege(String permission, boolean granted, boolean readOnly)
Deprecated.Set<String>
getDeniedPermissions()
Set<String>
getGrantedPermissions()
String
getUserName()
-
-
-
Constructor Detail
-
UserEntryImpl
public UserEntryImpl(String username)
-
-
Method Detail
-
addPrivilege
public void addPrivilege(String permission)
Description copied from interface:UserEntry
Adds a granted permission for this username.- Specified by:
addPrivilege
in interfaceUserEntry
- Parameters:
permission
- the permission
-
addPrivilege
public void addPrivilege(String permission, boolean isGranted)
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
-
addPrivilege
@Deprecated public void addPrivilege(String permission, boolean granted, boolean readOnly)
Deprecated.Description copied from interface:UserEntry
Adds a permission for this username.- Specified by:
addPrivilege
in interfaceUserEntry
-
getUserName
public String getUserName()
- Specified by:
getUserName
in interfaceUserEntry
-
getGrantedPermissions
public Set<String> getGrantedPermissions()
- Specified by:
getGrantedPermissions
in interfaceUserEntry
-
getDeniedPermissions
public Set<String> getDeniedPermissions()
- Specified by:
getDeniedPermissions
in interfaceUserEntry
-
-