All Packages Class Hierarchy This Package Previous Next Index
Class semper.access.EnabledRole
java.lang.Object
|
+----semper.access.Role
|
+----semper.access.EnabledRole
- public class EnabledRole
- extends Role
SEMPER Access Control Service.
Implementation of enabled role.
- Version:
- $Revision: 1.2 $ $Date: 1997/12/19 14:06:09 $
- Author:
- Mogens Rom Andersen ([email protected])
- See Also:
- Role
-
EnabledRole(String, String)
- Create a new enabled role.
-
getInfo()
- Obtain a short string describing the role and its parameters.
-
verify()
- Check if the role is enabled.
EnabledRole
public EnabledRole(String name,
String desc)
- Create a new enabled role.
- Parameters:
- name - name of the role.
- desc - the description of the role.
getInfo
public final String getInfo()
- Obtain a short string describing the role and its parameters.
Useful for logging.
- Returns:
- A short string describing the role.
- Overrides:
- getInfo in class Role
verify
public boolean verify()
- Check if the role is enabled.
- Returns:
- true if the role is enabled, false otherwise
- Overrides:
- verify in class Role
All Packages Class Hierarchy This Package Previous Next Index