All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.BoundedCapability

java.lang.Object
   |
   +----semper.access.Capability
           |
           +----semper.access.BoundedCapability

public class BoundedCapability
extends Capability
SEMPER Access Control.

Implementation of the bounded capability template. Bounded capabilities are only enabled for a limited amount of time (their timeout), after which they can be enabled by the user without authentication.

Version:
$Revision: 1.1 $ $Date: 1996/11/20 15:47:26 $
Author:
Jaap-Henk Hoepman ([email protected])
See Also:
Capability, BoundedCapabilityInstance

Constructor Index

 o BoundedCapability(String, String, int)
Create a new BoundedCapability.

Method Index

 o getInfo()
Obtain a short string describing the capability template and its parameters.

Constructors

 o BoundedCapability
 public BoundedCapability(String name,
                          String desc,
                          int timeout)
Create a new BoundedCapability.

When an instance of this capability is created, its timeout is obtained from the preference manager, group: Capability-timeouts and field: the name of this capability. The timeout parameter specified is used to create and initialize this preference in case it does not exist.

Parameters:
name - name of the capability.
desc - description of the capability.
timeout - the timeout in milliseconds suggested for this role. A timeout of -1 corresponds to an infinite timeout.

Methods

 o getInfo
 public String getInfo()
Obtain a short string describing the capability template and its parameters.

Useful for logging.

Returns:
A short string describing the capability template.
Overrides:
getInfo in class Capability

All Packages  Class Hierarchy  This Package  Previous  Next  Index