public final class AccessControlContext extends Object
Constructor and Description |
---|
AccessControlContext(AccessControlContext context,
DomainCombiner combiner) |
AccessControlContext(ProtectionDomain[] context)
The main public constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(Permission perm)
Check that the given Permission is implied by every domain in this context.
|
boolean |
equals(Object o)
Two AccessControlContexts are considered equal if they contain the same elements (not necessarily in the same order).
|
DomainCombiner |
getDomainCombiner() |
int |
hashCode()
The (default) object hashcode: for transient objects this is simply the
address of the instance in memory, for persistent objects it is the
address at which the instance was first created (maybe in a previous
activation of the VM).
|
public AccessControlContext(ProtectionDomain[] context)
public AccessControlContext(AccessControlContext context, DomainCombiner combiner)
public void checkPermission(Permission perm) throws AccessControlException
AccessControlException
public boolean equals(Object o)
public DomainCombiner getDomainCombiner()
public int hashCode()
Object