netx.jnlp.runtime

Class JNLPPolicy


public class JNLPPolicy
extends Policy

Policy for JNLP environment. This class delegates to the system policy but always grants permissions to the JNLP code and system CodeSources (no separate policy file needed). This class may also grant permissions to applications at runtime if approved by the user.
Version:
$Revision: 1.7 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

JNLPPolicy()

Method Summary

PermissionCollection
getPermissions(CodeSource source)
Return a mutable, heterogeneous-capable permission collection for the source.
void
refresh()
Refresh.

Constructor Details

JNLPPolicy

protected JNLPPolicy()

Method Details

getPermissions

public PermissionCollection getPermissions(CodeSource source)
Return a mutable, heterogeneous-capable permission collection for the source.

refresh

public void refresh()
Refresh.