|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectav.util.DeploySecurity
public class DeploySecurity
Utilities for security affires according to java deployment.
| Constructor Summary | |
|---|---|
DeploySecurity()
|
|
| Method Summary | |
|---|---|
static boolean |
isAllPermissionGranted(CodeSource cs)
Checks whether the certificates associated with a CodeSource are all permitted by user, shows untrusted certificates with standard security prompt dialogs to ask the user if necessary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploySecurity()
| Method Detail |
|---|
public static boolean isAllPermissionGranted(CodeSource cs)
This currently only works well with SUN Plugin.
For other environments, it simply dumps the certificates and shows this
info to the user with
JOptionPane.showConfirmDialog(java.awt.Component, Object, String, int)
and make the user to choose whether allow unrestricted running.
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||