org.nuxeo.ecm.core.api.security.impl
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
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
UserEntryImpl
public UserEntryImpl(String username)
addPrivilege
public void addPrivilege(String permission,
boolean granted,
boolean readOnly)
- Specified by:
addPrivilege
in interface UserEntry
getUserName
public String getUserName()
- Specified by:
getUserName
in interface UserEntry
getPermissions
public String[] getPermissions()
- Specified by:
getPermissions
in interface UserEntry
getAccess
public UserAccess getAccess(String permission)
- Specified by:
getAccess
in interface UserEntry
Copyright © 2011 Nuxeo SAS. All Rights Reserved.