JML

java.security
Class AccessControlContext

java.lang.Object
  extended byjava.security.AccessControlContext

public final class AccessControlContext
extends Object


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private  DomainCombiner combiner
           
private  ProtectionDomain[] context
           
private static sun.security.util.Debug debug
           
private static boolean debugInit
           
private  boolean isPrivileged
           
private  AccessControlContext privilegedContext
           
 
Constructor Summary
  AccessControlContext(AccessControlContext, DomainCombiner)
           
  AccessControlContext(ProtectionDomain[])
           
(package private) AccessControlContext(ProtectionDomain[], boolean)
           
private AccessControlContext(ProtectionDomain[], DomainCombiner)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 void checkPermission(Permission)
           
private  boolean containsAllPDs(AccessControlContext)
           
 boolean equals(Object)
           
(package private) static sun.security.util.Debug getDebug()
           
 DomainCombiner getDomainCombiner()
           
private  AccessControlContext goCombiner(ProtectionDomain[], AccessControlContext)
           
 int hashCode()
           
(package private)  boolean isPrivileged()
           
(package private)  AccessControlContext optimize()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

combiner

private DomainCombiner combiner

debug

private static sun.security.util.Debug debug

context

private ProtectionDomain[] context

isPrivileged

private boolean isPrivileged

debugInit

private static boolean debugInit

privilegedContext

private AccessControlContext privilegedContext
Constructor Detail

AccessControlContext

public AccessControlContext(ProtectionDomain[])

AccessControlContext

AccessControlContext(ProtectionDomain[],
                     boolean)

AccessControlContext

public AccessControlContext(AccessControlContext,
                            DomainCombiner)

AccessControlContext

private AccessControlContext(ProtectionDomain[],
                             DomainCombiner)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isPrivileged

boolean isPrivileged()

equals

public boolean equals(Object)
Overrides:
equals in class Object

optimize

AccessControlContext optimize()

containsAllPDs

private boolean containsAllPDs(AccessControlContext)

getDomainCombiner

public DomainCombiner getDomainCombiner()

checkPermission

public void checkPermission(Permission)
                     throws AccessControlException
Throws:
AccessControlException

getDebug

static sun.security.util.Debug getDebug()

goCombiner

private AccessControlContext goCombiner(ProtectionDomain[],
                                        AccessControlContext)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.