aboutsummaryrefslogtreecommitdiffstats
path: root/netx
Commit message (Collapse)AuthorAgeFilesLines
...
* Validate the recently_used file at every load. This will fix the StringIndex-Thomas Meyer2012-04-103-104/+115
| | | | | | OutOfBoundsException for a corrupted path entry thrown in CacheUtil.pathToURLPath(). This Exception was catched in RessourceTracker.Downloader.run() and only printed in debug mode.
* Rename JarSigner to JarCertVerifier.Danesh Dadachanji2012-04-058-49/+49
|
* Fix pac testsOmair Majid2012-04-031-15/+20
| | | | | | | | | | | | | | | | | | | The testDateRange* tests were rewritten so date wrapping is handled correctly. Also fixes two bugs in pac-funcs.js (a missed return value and using getYear instead of getFullYear). 2012-04-03 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of getYear() with getFullYear(). (inYearMonthDateRange): Add missing conditional case. * tests/netx/pac/pac-funcs-test.js (runTest): New function. (runTests): Call runTest. (incDate): Deal with month/year wrapping around. (decDate): Removed. (testDateRange, testDateRange2, testDateRange3): Handle wrapping of month and days.
* Fixed check for a certificate whose start date has not yet been reached.Danesh Dadachanji2012-04-021-0/+6
|
* PR898: signed applications with big jnlp-file doesn't startOmair Majid2012-03-221-15/+10
| | | | | | JNLPMatcher was using PipedInputStream and PipedOutputStream without threads which was deadlocking on large files. Use ByteArrayOutputStream instead to avoid this.
* Fix JNLP parser to halt when required title and vendor elements are missing.Danesh Dadachanji2012-03-162-0/+7
|
* PR895: IcedTea-Web searches for missing classes on each loadClass or findClassDeepak Bhole2012-03-141-4/+46
|
* Launch errors are not being printed to terminalOmair Majid2012-03-146-112/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-14 Omair Majid <[email protected]> Print exceptions to terminal when running in gui mode too. * netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file. * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend AbstractLaunchHandler. (DefaultLaunchHandler): New method. (printMessage): Moved to parent class. * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend AbstractLaunchHandler. (GuiLauchHandler): New method. (launchError): Print the error too. (launchWarning,validationError): Call parent's printMessage. * netx/net/sourceforge/jnlp/LaunchException.java: Use standard java exception chaining. This removes compatibility with pre-java 1.3 class libraries. (LaunchException(JNLPFile,Exception,String,String,String,String)): Pass cause to parent so exceptions are chanined properly. (LaunchException(String,Throwable),LaunchException(Throwable)): Call parent's constructor. (printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause): Removed. Use parent's implementation instead. (getCauses): Removed. * netx/net/sourceforge/jnlp/LaunchHandler.java (validationError): Rename argument to clarify meaing. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Redirect output of all handlers to System.err. * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java (PluginAppletSecurityContext): Likewise. * tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java, * tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New file. Contains tests.
* Change CertificateUtils.inKeyStores() to only check for certificate equalityDeepak Bhole2012-02-291-21/+6
|
* Added check for main class in jar manifest(s)Deepak Bhole2012-02-281-0/+57
|
* Add ability to check for use of jnlp_href outside of PluginBridge.Danesh Dadachanji2012-02-221-0/+7
|
* Fix regression in broken AppletTest.Danesh Dadachanji2012-02-132-0/+21
|
* Fix LaunchException constructor to handle null a description.Danesh Dadachanji2012-02-021-1/+2
|
* Use description parameter when creating a LaunchException.Danesh Dadachanji2012-02-011-1/+1
|
* fixed LRU cache behaviour in case of failure. Tests added.Jiri Vanek2012-02-015-134/+229
|
* PR852: Classloader not being flushed after last applet from a site is closedDeepak Bhole2012-01-271-1/+47
|
* Plugin does not make JNLP's <information> available when using jnlp_href.Danesh Dadachanji2012-01-243-10/+8
|
* fix findbugs cloud jnlpsOmair Majid2012-01-061-5/+11
| | | | | | | | | | | | | | | | | | | | | | | Someone reported that the following JNLP was not starting: http://findbugs.cs.umd.edu/cloud/eclipse.jnlp The first problem was that icedtea-web was trying to ensure that all jnlps, including extension jnlps have a main class. I wonder what other applications were broken by this check. This patch modifies the check to only check for main class when a main class is possible (applets and applications). The second second problem was that (in the extension jnlp file) the jnlp element did not contain a codebase attribute. IcedTea-Web tried to add this null codebase when merging the jnlp file, causing an exception. The patch simply ignores this null. 2012-01-05 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeResources): Only throw exceptions about the main class not being found when the jnlp file can have a main class. (addToCodeBaseLoader): Dont try to process null URLs.
* BasicService code does not work when placed in the applet constructor.Danesh Dadachanji2011-12-192-6/+21
|
* Print the arguments passed to the application's main methodOmair Majid2011-12-081-0/+5
| | | | | | | | 2011-12-08 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/Launcher.java (launchApplication): Print arguments being passed to the application's main method in debug mode.
* Change icon for AccessWarningPane dialogsDanesh Dadachanji2011-12-051-1/+1
|
* Enabled testWeekdayRange, added tests for star/end of months for dateRange ↵Jiri Vanek2011-11-101-26/+39
| | | | pac function
* mergeDeepak Bhole2011-11-081-69/+1
|\
| * RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and ↵Deepak Bhole2011-10-281-69/+1
| | | | | | | | suffix domain SOP bypass
* | PR808: javaws is unable to start when missing jars are enumerated before ↵Omair Majid2011-10-311-1/+1
|/ | | | | | | | | | main jar 2011-10-31 Omair Majid <[email protected]> * NEWS: Update. * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue with other jars if the first jar can't be used.
* PR778: Jar download and server certificate verification deadlockDeepak Bhole2011-10-271-9/+30
|
* sun.misc.BASE64Encoder replaced by internal implementationJiri Vanek2011-10-173-1/+465
|
* PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null error.Omair Majid2011-09-291-10/+43
| | | | | | | | | | | 2011-09-29 Omair Majid <[email protected]> * NEWS: Update. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (getResource): Rename to ... (findResource): New method. (findResources): If resource can not be found, search in lazy resources. (findResourcesBySearching): New method.
* Make getMainClass()'s return value consistent for AppletDesc and ApplicationDescOmair Majid2011-09-284-13/+6
| | | | | | | | | | | | | 2011-09-28 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/AppletDesc.java (getMainClass): Clarify the return value in javadoc. * netx/net/sourceforge/jnlp/Launcher.java (createApplet, createAppletObject): Do not replace '/' with '.'. * netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure that the class name is in the dot-separated from. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (checkForMain): Ensure that the name is an exact match.
* PR794: IcedTea-Web does not work if a Web Start app jar has a Class-PathDeepak Bhole2011-09-282-7/+91
| | | | element in the manifest.
* Add support for client authentication certificatesLars Herschke2011-09-264-5/+91
| | | | | | | | | | | | | | | | | | 2011-09-26 Lars Herschke <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CVExportPasswordMessage, CVImportPasswordMessage and CVPasswordTitle. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Initialize SSLContext with the user's client certificates. * netx/net/sourceforge/jnlp/security/CertificateUtils.java (addPKCS12ToKeyStore, addPKCS12ToKeyStore, dumpPKCS12): New methods. * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java (getPasswords): New method. (ImportButtonListener.actionPerformed): Import client certificates in PKCS12 format. (ExportButtonListener.actionPerformed): Export client certificates in PKCS12 format.
* RH738814: Access denied at ssl handshakeOmair Majid2011-09-232-5/+15
| | | | | | | | | | | | | | It turns out that TrustManager.checkTrusted() could be called by untrusted code. In such a case, we should still show a warning to the user, and not throw a SecurityException instead. 2011-09-23 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/security/SecurityDialogs.java (showCertWarningDialog): Add a javadoc comment. * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java (askUser): Wrap the call to showCertWarningDialog in a doPrivileged block.
* PR788: Elluminate Live! is not workingOmair Majid2011-09-221-3/+4
| | | | | | | | | | 2011-09-22 Omair Majid <[email protected]> PR788: Elluminate Live! is not working * NEWS: Update. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (checkForMain): If localFile is null (JAR couldn't be downloaded), try to continue, rather than allowing the exception to cause an abort.
* PR766 javaws fails to parse an <argument> node that contains CDATAOmair Majid2011-09-211-5/+29
| | | | | | | | 2011-09-21 Omair Majid <[email protected]> PR766: javaws fails to parse an <argument> node that contains CDATA * netx/net/sourceforge/nanoxml/XMLElement.java (sanitizeInput): Do not remove CDATA sections along with comments.
* added XrustAll optionJiri Vanek2011-09-224-0/+22
|
* RH734081: Javaws cannot use proxy settings from FirefoxDeepak Bhole2011-08-291-2/+2
| | | | | | | | | | Based on patch from Lukas Zachar <lzachar at redhat dot com> 2011-08-29 Deepak Bhole <[email protected]> * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java (find): Only process Profile sections. Do not throw an exception if a Default= line is not found since it is not guaranteed to exist.
* Fix PR769: IcedTea-Web does not work with some ssl sites with OpenJDK7Deepak Bhole2011-08-231-8/+12
|
* Checks and verifies a signed JNLP file at the launch of the application. A ↵Saad Mohammad2011-08-226-5/+346
| | | | signed JNLP warning is displayed if appropriate.
* Update UI for SecurityDialog.Danesh Dadachanji2011-08-173-5/+16
|
* PR742: IcedTea-Web checks certs only upto 1 level deep before declaring them ↵Danesh Dadachanji2011-08-111-1/+7
| | | | untrusted.
* MergeDeepak Bhole2011-08-091-5/+34
|\
| * PR771: IcedTea-Web certificate verification code does not use the right APIDeepak Bhole2011-08-091-5/+34
| |
* | PR765: JNLP file with all resource jars marked as 'lazy' fails to validate ↵Saad Mohammad2011-08-091-0/+4
|/ | | | signature and stops the launch of application
* PR768: Signed applets/Web Start apps don't work with OpenJDK7 and upDeepak Bhole2011-08-031-1/+1
|
* Minor changes in algorithm that compares signed JNLP application/templateSaad Mohammad2011-08-032-54/+56
|
* RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulationDeepak Bhole2011-07-152-3/+6
|
* RH718164, CVE-2011-2513: Home directory path disclosure to untrusted ↵Deepak Bhole2011-07-154-11/+230
| | | | applications
* Added algorithm that compares signed JNLP application/template file with ↵Saad Mohammad2011-07-193-0/+318
| | | | launching JNLP file (with test case and its resources)
* Make itweb-settings resizableAndrew Su2011-06-143-17/+46
|
* Close the splashscreen in case of error (not just successful launch).Denis Lila2011-06-101-10/+21
|