Name

Class java.security.AccessControlContext

Synopsis

An access control context allows the access controller to substitute a different context (that is, a different set of protection domains) than the context provided by the stack of the current thread. This class might be used by a server thread to determine if a particular calling thread should be allowed to perform particular operations.

Class Definition

public final class java.security.AccessControlContext
    extends java.lang.Object {

    // Constructors
    public AccessControlContext(AccessControlContext, DomainCombiner);
    public AccessControlContext(ProtectionDomain[]);

    // Instance Methods
    public void checkPermission(Permission);
    public boolean equals(Object);
    public DomainCombiner getDomainCombiner(  );
    public int hashCode(  );
}

See also

AccessController

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.