Policy - JRE Emulation | JRE Emulation
public abstract class

Policy

extends Object
java.lang.Object
   ↳ java.security.Policy

Class Overview

Legacy security code; do not use.

Summary

Nested Classes
interface Policy.Parameters Legacy security code; do not use. 
Fields
public static final PermissionCollection UNSUPPORTED_EMPTY_COLLECTION
Public Constructors
Policy()
Public Methods
static Policy getInstance(String type, Policy.Parameters params)
static Policy getInstance(String type, Policy.Parameters params, Provider provider)
static Policy getInstance(String type, Policy.Parameters params, String provider)
Policy.Parameters getParameters()
PermissionCollection getPermissions(ProtectionDomain domain)
PermissionCollection getPermissions(CodeSource cs)
static Policy getPolicy()
Provider getProvider()
String getType()
boolean implies(ProtectionDomain domain, Permission permission)
void refresh()
static void setPolicy(Policy policy)
Inherited Methods
[Expand]
From class java.lang.Object

Fields

public static final PermissionCollection UNSUPPORTED_EMPTY_COLLECTION

Public Constructors

public Policy ()

Public Methods

public static Policy getInstance (String type, Policy.Parameters params)

public static Policy getInstance (String type, Policy.Parameters params, Provider provider)

public static Policy getInstance (String type, Policy.Parameters params, String provider)

public Policy.Parameters getParameters ()

public PermissionCollection getPermissions (ProtectionDomain domain)

public PermissionCollection getPermissions (CodeSource cs)

public static Policy getPolicy ()

public Provider getProvider ()

public String getType ()

public boolean implies (ProtectionDomain domain, Permission permission)

public void refresh ()

public static void setPolicy (Policy policy)