Name

Interface javax.security.auth.Destroyable

Synopsis

Classes (usually Subjects) that implement this interface allow their contents to be destroyed. This is useful if you want to reuse the object or don’t want to hold sensitive information about the object in memory.

Interface Definition

public interface javax.security.auth.Destroyable {

    // Instance Methods
    public abstract void destroy(  );
    public abstract boolean isDestroyed(  );
}

See also

Subject

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.