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
-
EnabledCapability(String, String)
- Creates a new EnabledCapability.
-
getInfo()
- Obtain a short string describing the capability and its parameters.
-
verify()
- Verify the capability, returns always true.
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.
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
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