All Packages Class Hierarchy This Package Previous Next Index
Class semper.access.SignatureRoleInstance
java.lang.Object
|
+----semper.access.RoleInstance
|
+----semper.access.SignatureRoleInstance
- public class SignatureRoleInstance
- extends RoleInstance
SEMPER Access Control Service.
Implementation of signature role instances. Signature roles
do _not_ require any type of authentication to be unlocked.
- Version:
- $Revision: 1.1 $ $Date: 1997/08/07 11:41:21 $
- Author:
- Mogens Rom Andersen ([email protected])
- See Also:
- RoleInstance, SignatureRole
-
SignatureRoleInstance(SignatureRole, AccessControlHandle)
- Create a new signature role instance.
-
getInfo()
- Obtain a short string describing the role instance and its parameters.
-
islocked()
- Check if the role is locked.
-
unlock()
- Unlock the role.
SignatureRoleInstance
public SignatureRoleInstance(SignatureRole template,
AccessControlHandle owner)
- Create a new signature role instance.
The value for the timeout is obtained from the preferences.
- Parameters:
- template - the template for this instance
- owner - AccessControlHandle of the owner of the instance.
getInfo
public final String getInfo()
- Obtain a short string describing the role instance and its parameters.
Useful for logging.
- Returns:
- A short string describing the role instance.
- Overrides:
- getInfo in class RoleInstance
islocked
public boolean islocked()
- Check if the role is locked. Overridden here to check the timeout
as well.
- Returns:
- true if the role is locked, false otherwise
- Overrides:
- islocked in class RoleInstance
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 RoleInstance
All Packages Class Hierarchy This Package Previous Next Index