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.4 $ $Date: 1996/08/21 07:40:36 $
- Author:
- Jaap-Henk Hoepman ([email protected])
- See Also:
- Role
-
SecureRole(String, String)
- Create a new secure role.
-
unlock()
- Unlock the role.
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.
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