java.security
Class ProtectionDomain
java.lang.Object
java.security.ProtectionDomain
- public class ProtectionDomain
- extends Object
permissions
private PermissionCollection permissions
classloader
private ClassLoader classloader
principals
private Principal[] principals
codesource
private CodeSource codesource
staticPermissions
private boolean staticPermissions
ProtectionDomain
public ProtectionDomain(CodeSource,
PermissionCollection)
ProtectionDomain
public ProtectionDomain(CodeSource,
PermissionCollection,
ClassLoader,
Principal[])
seeAllp
private boolean seeAllp()
getClassLoader
public final ClassLoader getClassLoader()
toString
public String toString()
- Overrides:
toString
in class Object
getCodeSource
public final CodeSource getCodeSource()
implies
public boolean implies(Permission)
getPermissions
public final PermissionCollection getPermissions()
mergePermissions
private PermissionCollection mergePermissions()
getPrincipals
public final Principal[] getPrincipals()
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.