Class semper.access.SimpleCapability
All Packages Class Hierarchy This Package Previous Next Index
Class semper.access.SimpleCapability
java.lang.Object
|
+----semper.access.Capability
|
+----semper.access.SimpleCapability
- public class SimpleCapability
- extends Capability
- implements Streamable
Class of capability objects. Other managers must create and verify
capabilities before performing potentially dangerous, compromising or
undesirable operations. A simple capability is always valid.
- Version:
- $Revision: 1.4 $ $Date: 1996/08/21 07:40:37 $
- Author:
- Jaap-Henk Hoepman ([email protected])
- See Also:
- Capability
-
SimpleCapability(String)
- Creates a new SimpleCapability.
-
isValid()
- Check whether the capability is still valid.
-
myStreamSize()
- Implementing the Streamable interface
-
readObject(StreamInputInterface)
- Implementing the Streamable interface
-
writeObject(StreamOutputInterface)
- Implementing the Streamable interface
SimpleCapability
public SimpleCapability(String desc)
- Creates a new SimpleCapability. The capability is initially valid.
- Parameters:
- desc - description of the capability.
- Returns:
- the new object.
isValid
protected boolean isValid()
- Check whether the capability is still valid.
- Returns:
- always returns true.
- Overrides:
- isValid in class Capability
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
- See Also:
- Streamable;
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
- See Also:
- Streamable;
myStreamSize
public int myStreamSize() throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
- See Also:
- Streamable;
All Packages Class Hierarchy This Package Previous Next Index