Java java.security ProtectionDomain fields, constructors, methods, implement or subclass

Example usage for Java java.security ProtectionDomain fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security ProtectionDomain.

The text is from its open source code.

Constructor

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.

Method

ClassLoadergetClassLoader()
Returns the ClassLoader of this domain.
CodeSourcegetCodeSource()
Returns the CodeSource of this domain.
Principal[]getPrincipals()
Returns an array of principals for this domain.