it.geosolutions.geonetwork.util
Class GNPrivConfiguration
java.lang.Object
it.geosolutions.geonetwork.util.GNPrivConfiguration
public class GNPrivConfiguration
- extends Object
TODO: don't use Strings for encoding/packing privileges, since they may be ambiguous
(alse see GNPriv
).
- Author:
- ETj (etj at geo-solutions.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUP_GUEST
public static final int GROUP_GUEST
- See Also:
- Constant Field Values
GROUP_INTRANET
public static final int GROUP_INTRANET
- See Also:
- Constant Field Values
GROUP_ALL
public static final int GROUP_ALL
- See Also:
- Constant Field Values
GNPrivConfiguration
public GNPrivConfiguration()
getPrivileges
public List<GNPrivConfiguration.Privileges> getPrivileges()
setPrivileges
protected void setPrivileges(List<GNPrivConfiguration.Privileges> privileges)
addPrivileges
public void addPrivileges(Integer groupCode,
String ops)
addPrivileges
public void addPrivileges(Integer groupCode,
EnumSet<GNPriv> privs)
Copyright © 2011-2012 GeoSolutions. All Rights Reserved.