ProtectionDomain - JRE Emulation | JRE Emulation
public class

ProtectionDomain

extends Object
java.lang.Object
   ↳ java.security.ProtectionDomain

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
ProtectionDomain(CodeSource cs, PermissionCollection permissions)
ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)
Public Methods
final ClassLoader getClassLoader()
final CodeSource getCodeSource()
final PermissionCollection getPermissions()
final Principal[] getPrincipals()
boolean implies(Permission permission)
Inherited Methods
[Expand]
From class java.lang.Object

Public Constructors

public ProtectionDomain (CodeSource cs, PermissionCollection permissions)

public ProtectionDomain (CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)

Public Methods

public final ClassLoader getClassLoader ()

public final CodeSource getCodeSource ()

public final PermissionCollection getPermissions ()

public final Principal[] getPrincipals ()

public boolean implies (Permission permission)