Class semper.access.OrdinaryRole
All Packages Class Hierarchy This Package Previous Next Index
Class semper.access.OrdinaryRole
java.lang.Object
|
+----semper.access.Role
|
+----semper.access.OrdinaryRole
- public class OrdinaryRole
- extends Role
SEMPER Class of role objects. Roles contain zero or more capabilities. An
ordinary role can be locked and unlocked by a user without authentication.
If a role is unlocked, all its member capabilities are (potentially) valid.
- Version:
- $Revision: 1.4 $ $Date: 1996/08/21 07:40:34 $
- Author:
- Jaap-Henk Hoepman ([email protected])
- See Also:
- Role
-
OrdinaryRole(String)
- Create a new role.
-
unlock()
- Unlock the role.
OrdinaryRole
public OrdinaryRole(String desc)
- Create a new role.
- Parameters:
- desc - the description of the role
(used when locking or unlocking roles).
unlock
public boolean unlock()
- Unlock the role. The user is given the choice to unlock the role.
- Returns:
- true if the user succesfully unlocked the role, false otherwise.
- Overrides:
- unlock in class Role
All Packages Class Hierarchy This Package Previous Next Index