org.nuxeo.ecm.core.api.security.impl
Class UserEntryImpl
java.lang.Object
org.nuxeo.ecm.core.api.security.impl.UserEntryImpl
- All Implemented Interfaces:
- java.io.Serializable, UserEntry
public class UserEntryImpl
- extends java.lang.Object
- implements UserEntry
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserEntryImpl
public UserEntryImpl(java.lang.String username)
addPrivilege
public void addPrivilege(java.lang.String permission,
boolean granted,
boolean readOnly)
- Specified by:
addPrivilege
in interface UserEntry
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface UserEntry
getPermissions
public java.lang.String[] getPermissions()
- Specified by:
getPermissions
in interface UserEntry
getAccess
public UserAccess getAccess(java.lang.String permission)
- Specified by:
getAccess
in interface UserEntry
Copyright © 2010 Nuxeo SAS. All Rights Reserved.