Class semper.access.SecureRole
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.SecureRole

java.lang.Object
   |
   +----semper.access.Role
           |
           +----semper.access.SecureRole

public class SecureRole
extends Role
SEMPER Class of role objects. Roles contain zero or more capabilities. A secure role can only be locked and unlocked by a user if she can authenticate herself. If a role is unlocked, all its member capabilities are (potentially) valid.
Version:
$Revision: 1.5 $ $Date: 1996/09/24 12:28:11 $
Author:
Jaap-Henk Hoepman (jhh@cwi.nl)
See Also:
Role

Constructor Index

 o SecureRole(String, String)
Create a new secure role.

Method Index

 o unlock()
Unlock the role.

Constructors

 o SecureRole
  public SecureRole(String desc,
                    String crypt)
Create a new secure role.
Parameters:
desc - the description of the role (used when locking or unlocking roles).
crypt - the encrypted password to check against the password entered by the user.

Methods

 o unlock
  public boolean unlock()
Unlock the role. The user is given the choice to unlock the role, but must provide a password to do so.
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