javax.security.auth
public interface Destroyable
| Method Summary | |
|---|---|
| void | destroy()
Destroy this object, clearing all sensitive fields appropriately.
|
| boolean | isDestroyed()
Tells whether or not this object has been destroyed.
|
Throws: DestroyFailedException If this object could not be destroyed. SecurityException If the caller does not have permission to destroy this object.
Returns: True if this object has been destroyed.