All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.EnabledCapability

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

public class EnabledCapability
extends Capability
SEMPER Access Control.

Implementation of the enabled capability. Enabled capabilities are always enabled.

Version:
$Revision: 1.3 $ $Date: 1997/12/19 14:23:48 $
Author:
Mogens Rom Andersen ([email protected])
See Also:
Capability

Constructor Index

 o EnabledCapability(String, String)
Creates a new EnabledCapability.

Method Index

 o getInfo()
Obtain a short string describing the capability and its parameters.
 o verify()
Verify the capability, returns always true.

Constructors

 o EnabledCapability
 public EnabledCapability(String name,
                          String desc)
Creates a new EnabledCapability. The capability is always enabled.

Parameters:
name - the name of the capability
desc - the description of the capability.

Methods

 o verify
 public final boolean verify()
Verify the capability, returns always true. as well.

Returns:
true if the role is enabled, false otherwise
Overrides:
verify in class Capability
 o getInfo
 public String getInfo()
Obtain a short string describing the capability and its parameters.

Useful for logging.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index