|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ants.core.security.SecurityDefaults
Represents a set of built-in access control defaults. These defaults can be overridden by loading a serialized policy object. The main routine of this class serializes the default policy.
ReferenceMonitor
Field Summary | |
static Principal |
ADMIN
Any change to the name of this object must be reflected in Primordial Node. |
static Permission |
ADMIN_PERMISSION
the "root" permission: this is dangerous |
static Principal |
BOOTSTRAP_USER
The initial principal for all nodes |
static Principal |
DANTE_USER
The principal for the dante application |
static Permission |
LOCAL_SEND
permission to use the Node's local send method |
static Principal |
LOCAL_USERS
The default principal for local applications and protocols |
static Permission |
LOG
Permission to write to the local log |
static Permission |
MODIFY_NEIGHBORS
Permission to modify the neighbor table |
static Permission |
MODIFY_ROUTES
Permission to modify the routing table |
static Permission |
RAW_SEND
permission to send to directly to neighbor, bypassing TTL and source checks |
static Permission |
READ_NEIGHBORS
Permission to read the neighbor table |
static Permission |
READ_PHYSICAL_ADDRESS_SPEC
permission to read the local node's physical address |
static Permission |
READ_PHYSICAL_PROTOCOL_SPEC
permission to read the local node's physical connection spec |
static Principal |
REMOTE_USERS
The default principal for dynamicaly loaded protocols |
static Principal |
ROUTE_USER
The default principal for the routing application |
static Permission |
SET_ADDRESS
permission to set the local address of the node |
static Permission |
SHUTDOWN
Permission to shutdown the node |
static Permission |
START_THREAD
permission to start up a thread |
Constructor Summary | |
SecurityDefaults()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Serializes the default policy and dumps it in a file |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final Principal ADMIN
public static final Principal BOOTSTRAP_USER
public static final Principal ROUTE_USER
public static final Principal DANTE_USER
public static final Principal LOCAL_USERS
public static final Principal REMOTE_USERS
public static final Permission MODIFY_ROUTES
public static final Permission READ_NEIGHBORS
public static final Permission MODIFY_NEIGHBORS
public static final Permission SHUTDOWN
public static final Permission LOG
public static final Permission SET_ADDRESS
public static final Permission ADMIN_PERMISSION
public static final Permission READ_PHYSICAL_PROTOCOL_SPEC
public static final Permission READ_PHYSICAL_ADDRESS_SPEC
public static final Permission LOCAL_SEND
public static final Permission START_THREAD
public static final Permission RAW_SEND
Constructor Detail |
public SecurityDefaults()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |