|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Policy
de.jreality.util.SimpleURLPolicy
public class SimpleURLPolicy
A policy which restricts access from a configured set of
code source URLs and grants access to all other.
The policy can be activated by calling
.
Policy.setPolicy(java.security.Policy)
| Constructor Summary | |
|---|---|
SimpleURLPolicy(Collection permissions,
Collection urls)
|
|
SimpleURLPolicy(Collection permissions,
URL url)
|
|
| Method Summary | |
|---|---|
PermissionCollection |
getPermissions(CodeSource codesource)
|
void |
refresh()
|
| Methods inherited from class java.security.Policy |
|---|
getPermissions, getPolicy, implies, setPolicy |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleURLPolicy(Collection permissions,
URL url)
public SimpleURLPolicy(Collection permissions,
Collection urls)
| Method Detail |
|---|
public PermissionCollection getPermissions(CodeSource codesource)
getPermissions in class Policypublic void refresh()
refresh in class Policy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||