diff options
author | Saad Mohammad <[email protected]> | 2011-08-22 15:09:47 -0400 |
---|---|---|
committer | Saad Mohammad <[email protected]> | 2011-08-22 15:09:47 -0400 |
commit | ca57a77f66bbca5e2be1da83868ba0b5daab0ca3 (patch) | |
tree | 69fae35674d0d6c7059b2eea12685a3fffcb89a2 /ChangeLog | |
parent | 3fdbc63fe69b247c9aaa49a322142a2085248095 (diff) |
Checks and verifies a signed JNLP file at the launch of the application. A signed JNLP warning is displayed if appropriate.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -1,3 +1,46 @@ +2011-08-22 Saad Mohammad <[email protected]> + * netx/net/sourceforge/jnlp/JNLPFile.java: + (parse): After the file has been parsed, it calls + checkForSpecialProperties() to check if the resources contain any special + properties. + (checkForSpecialProperties): Scans through resources and checks if it + contains any special properties. + (requiresSignedJNLPWarning): Returns a boolean after determining if a signed + JNLP warning should be displayed. + (setSignedJNLPAsMissing): Informs JNLPFile that a signed JNLP file is + missing in the main jar. + * netx/net/sourceforge/jnlp/SecurityDesc.java: + (getJnlpRIAPermissions): Returns all the names of the basic JNLP system + properties accessible by RIAs. + * netx/net/sourceforge/jnlp/resources/Messages.properties: + Added LSignedJNLPFileDidNotMatch and SJNLPFileIsNotSigned. + * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: + (initializeResources): Locates the jar file that contains the main class + and verifies if a signed JNLP file is also located in that jar. This also + checks 'lazy' jars if the the main class was not found in 'eager' jars. + If the main jar was not found, a LaunchException is thrown which terminates + the launch of the application. + (checkForMain): A method that goes through each jar and checks to see + if it has the main class. If the main class is found, it calls + verifySignedJNLP() to verify if a valid signed JNLP file is also found in + the jar. + (verifySignedJNLP): A method that checks if the jar file contains a valid + signed JNLP file. + (closeStream): Closes a stream. + (loadClassExt): Added a try/catch block when addNextResource() is called. + (addNextResource): If the main jar has not been found, checkForMain() is + called to check if the jar contains the main class, and verifies if a signed + JNLP file is also located. + * netx/net/sourceforge/jnlp/security/MoreInfoPane.java: + (addComponents): Displays the signed JNLP warning message if necessary. + * netx/net/sourceforge/jnlp/security/SecurityDialog.java: + (SecurityDialog): Stores the value of whether a signed JNLP warning should + be displayed. + (showMoreInfoDialog): Passes in the associated JNLP file when creating a + SecurityDialog object. + (requiresSignedJNLPWarning): Returns a boolean after determining if a signed + JNLP warning should be displayed. + 2011-08-17 Danesh Dadachanji <[email protected]> Update UI for SecurityDialog |