ProtectionDomain

Stay organized with collections Save and categorize content based on your preferences.
public class ProtectionDomain extends Object

Legacy security code; do not use.

Public Constructor Summary

ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)

Public Method Summary

final ClassLoader
final CodeSource
final PermissionCollection
final Principal[]
boolean
implies(Permission permission)

Inherited Method Summary

Public Constructors

public ProtectionDomain (CodeSource codesource, PermissionCollection permissions)

Parameters
codesource
permissions

public ProtectionDomain (CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)

Parameters
codesource
permissions
classloader
principals

Public Methods

public final ClassLoader getClassLoader ()

public final CodeSource getCodeSource ()

public final PermissionCollection getPermissions ()

public final Principal[] getPrincipals ()

public boolean implies (Permission permission)

Parameters
permission