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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProtectionDomain (CodeSource cs, PermissionCollection permissions)

Since: API Level 1

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

Since: API Level 1

Public Methods

public final ClassLoader getClassLoader ()

Since: API Level 1

public final CodeSource getCodeSource ()

Since: API Level 1

public final PermissionCollection getPermissions ()

Since: API Level 1

public final Principal[] getPrincipals ()

Since: API Level 1

public boolean implies (Permission permission)

Since: API Level 1