|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch integrates the password authentication pane into the rest of the
security dialog system. The password authentication dialog is now shown using
the secure thread, rather than the thread of the JNLP application.
2011-02-28 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add Password,
Username and SAuthenticationPrompt.
* netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java
(getPasswordAuthentication): Show password prompt using the secure thread.
* netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java
(PasswordAuthenticationPane): Initialize variables.
(initialize): For consistency, rename to..
(addComponents): New method. Set the appropriate return value when user
takes an action.
(askUser): Remove.
(main): Remove.
* netx/net/sourceforge/jnlp/security/SecurityDialog.java
(initDialog): Add extra case for AUTHENTICATION dialog type.
(installPanel): Likewise.
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
(DialogType): Add AUTHENTICATION.
(showAuthenicationPrompt): New method. Shows a password authentication
prompt.
|
|
Some of the security dialogs that are shown are not warning dialogs.
2011-02-28 Omair Majid <[email protected]>
Rename files
* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
Rename to ...
* netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java: New
file.
* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java: Rename
to...
* netx/net/sourceforge/jnlp/security/SecurityDialog.java: New file.
* netx/net/sourceforge/jnlp/security/SecurityWarning.java: Rename to...
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: New file.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
* netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
* netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
* netx/net/sourceforge/jnlp/security/CertWarningPane.java,
* netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
* netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java,
* netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
* netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java,
* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java,
* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
* netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
* netx/net/sourceforge/jnlp/services/ServiceUtil.java,
* netx/net/sourceforge/jnlp/services/XClipboardService.java,
* netx/net/sourceforge/jnlp/services/XExtendedService.java,
* netx/net/sourceforge/jnlp/services/XFileOpenService.java,
* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Update class
names to the new classes.
|