public class UserEntryImpl extends Object implements UserEntry
Constructor and Description |
---|
UserEntryImpl(String username) |
Modifier and Type | Method and Description |
---|---|
void |
addPrivilege(String permission,
boolean granted,
boolean readOnly) |
UserAccess |
getAccess(String permission) |
String[] |
getPermissions() |
String |
getUserName() |
public UserEntryImpl(String username)
public void addPrivilege(String permission, boolean granted, boolean readOnly)
addPrivilege
in interface UserEntry
public String getUserName()
getUserName
in interface UserEntry
public String[] getPermissions()
getPermissions
in interface UserEntry
public UserAccess getAccess(String permission)
Copyright © 2011 Nuxeo SA. All Rights Reserved.