Example usage for Java java.security ProtectionDomain fields, constructors, methods, implement or subclass
The text is from its open source code.
ProtectionDomain(CodeSource codesource, PermissionCollection permissions) Creates a new ProtectionDomain with the given CodeSource and Permissions. | |
ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals. |
ClassLoader | getClassLoader() Returns the ClassLoader of this domain. |
CodeSource | getCodeSource() Returns the CodeSource of this domain. |
Principal[] | getPrincipals() Returns an array of principals for this domain. |