All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.BootstrapRoleInstance

java.lang.Object
   |
   +----semper.access.RoleInstance
           |
           +----semper.access.BootstrapRoleInstance

public class BootstrapRoleInstance
extends RoleInstance
SEMPER Access Control Service.

Implementation of bootstrap role instance. Bootstrap roles are only unlocked during the SEMPER initialisation phase.

Version:
$Revision: 1.1 $ $Date: 1996/11/20 15:47:25 $
Author:
Jaap-Henk Hoepman (jhh@cwi.nl)
See Also:
RoleInstance, BootstrapRole, init

Constructor Index

 o BootstrapRoleInstance(BootstrapRole, AccessControlHandle)
Create a new bootstrap role instance.

Method Index

 o getInfo()
Obtain a short string describing the role instance and its parameters.
 o islocked()
Check if the role is locked.
 o unlock()
Unlock the role.

Constructors

 o BootstrapRoleInstance
 public BootstrapRoleInstance(BootstrapRole template,
                              AccessControlHandle owner)
Create a new bootstrap role instance.

Parameters:
template - the template for this instance
owner - AccessControlHandle of the owner of the instance.

Methods

 o 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
 o islocked
 public boolean islocked()
Check if the role is locked. Overridden here to return the opposite of semper.util.Library.isInitialising

Returns:
always returns false.
Overrides:
islocked in class RoleInstance
See Also:
isInitialising
 o unlock
 public boolean unlock()
Unlock the role. For BootstrapRole this method should never be called; it does not have any effect.

Returns:
always returns true.
Overrides:
unlock in class RoleInstance

All Packages  Class Hierarchy  This Package  Previous  Next  Index