ANTS v2.0 API

ants.core.security
Class SecurityDefaults

java.lang.Object
  |
  +--ants.core.security.SecurityDefaults

public final class SecurityDefaults
extends java.lang.Object

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.

Author:
Andrew Whitaker
See Also:
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

ADMIN

public static final Principal ADMIN
Any change to the name of this object must be reflected in Primordial Node.

BOOTSTRAP_USER

public static final Principal BOOTSTRAP_USER
The initial principal for all nodes

ROUTE_USER

public static final Principal ROUTE_USER
The default principal for the routing application

DANTE_USER

public static final Principal DANTE_USER
The principal for the dante application

LOCAL_USERS

public static final Principal LOCAL_USERS
The default principal for local applications and protocols

REMOTE_USERS

public static final Principal REMOTE_USERS
The default principal for dynamicaly loaded protocols

MODIFY_ROUTES

public static final Permission MODIFY_ROUTES
Permission to modify the routing table

READ_NEIGHBORS

public static final Permission READ_NEIGHBORS
Permission to read the neighbor table

MODIFY_NEIGHBORS

public static final Permission MODIFY_NEIGHBORS
Permission to modify the neighbor table

SHUTDOWN

public static final Permission SHUTDOWN
Permission to shutdown the node

LOG

public static final Permission LOG
Permission to write to the local log

SET_ADDRESS

public static final Permission SET_ADDRESS
permission to set the local address of the node

ADMIN_PERMISSION

public static final Permission ADMIN_PERMISSION
the "root" permission: this is dangerous

READ_PHYSICAL_PROTOCOL_SPEC

public static final Permission READ_PHYSICAL_PROTOCOL_SPEC
permission to read the local node's physical connection spec

READ_PHYSICAL_ADDRESS_SPEC

public static final Permission READ_PHYSICAL_ADDRESS_SPEC
permission to read the local node's physical address

LOCAL_SEND

public static final Permission LOCAL_SEND
permission to use the Node's local send method

START_THREAD

public static final Permission START_THREAD
permission to start up a thread

RAW_SEND

public static final Permission RAW_SEND
permission to send to directly to neighbor, bypassing TTL and source checks
Constructor Detail

SecurityDefaults

public SecurityDefaults()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Serializes the default policy and dumps it in a file

ANTS v2.0 API

This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/