Class semper.access.UnlockedRole
All Packages Class Hierarchy This Package Previous Next Index
Class semper.access.UnlockedRole
java.lang.Object
|
+----semper.access.Role
|
+----semper.access.UnlockedRole
- public class UnlockedRole
- extends Role
SEMER Class of role objects. Roles contain zero or more capabilities. An
unlocked role is alsways unlocked. If a role is unlocked, all
its member capabilities are (potentially) valid.
- Version:
- $Revision: 1.3 $ $Date: 1996/08/21 07:40:37 $
- Author:
- Jaap-Henk Hoepman ([email protected])
- See Also:
- Role
-
UnlockedRole(String)
- Create a new role.
-
islocked()
- Check if the role is locked.
-
unlock()
- Unlock the role.
UnlockedRole
public UnlockedRole(String desc)
- Create a new role.
- Parameters:
- desc - the description of the role
(used when locking or unlocking roles).
islocked
public boolean islocked()
- Check if the role is locked. Overridden here to always return false
- Returns:
- always returns false.
- Overrides:
- islocked in class Role
unlock
public boolean unlock()
- Unlock the role. For UnlockedRole this method should never be called;
it does not have any effect.
- Returns:
- always returns true.
- Overrides:
- unlock in class Role
All Packages Class Hierarchy This Package Previous Next Index