|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.net.auth.NetAuthenticatorInstaller
public final class NetAuthenticatorInstaller
Simple utility to install a GUI (dialog) based Authenticator.
Only in the Java Plug-In and Java Web Start does Java install such an
Authenticator automatically. In those environments, this class' installation
attempt will be rejected by the security manager. This class will silently
ignore such failures.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static void |
install()
Attempts to install a GUI (dialog) based Authenticator instance,
but does not wrap this attempt in a PrivilegedAction block. |
static void |
install(boolean usePrivilegedAction)
Attempts to install a GUI (dialog) based Authenticator instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void install()
Authenticator instance,
but does not wrap this attempt in a PrivilegedAction block. Instead this attempt
will silently fail when a SecurityManager is in place (e.g. under the Java Plug In
or Java Web Start where replacing the built in authenticator is a bad idea).
public static void install(boolean usePrivilegedAction)
Authenticator instance.
usePrivilegedAction - Whether this attempt should be wrapped in a PrivilegedAction block; see install() for more information
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||