javax.security.auth

Class Policy

public abstract class Policy extends Object

Deprecated: The classes java.security.Policy and java.security.ProtectionDomain provide the functionality of this class.

Constructor Summary
protected Policy()
Method Summary
abstract PermissionCollectiongetPermissions(Subject subject, CodeSource source)
static PolicygetPolicy()
abstract voidrefresh()
static voidsetPolicy(Policy p)

Constructor Detail

Policy

protected Policy()

Method Detail

getPermissions

public abstract PermissionCollection getPermissions(Subject subject, CodeSource source)

getPolicy

public static Policy getPolicy()

refresh

public abstract void refresh()

setPolicy

public static void setPolicy(Policy p)