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 ([email protected])
- See Also:
- RoleInstance, BootstrapRole, init
-
BootstrapRoleInstance(BootstrapRole, AccessControlHandle)
- Create a new bootstrap 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.
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.
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 return the
opposite of semper.util.Library.isInitialising
- Returns:
- always returns false.
- Overrides:
- islocked in class RoleInstance
- See Also:
- isInitialising
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