>From a previous discussion (link below), I note that
com.noelios.restlet.util.SecurityUtils compensates for a JDK bug by setting
content-type to "application/x-www-form-urlencoded" when the java version is
less than 1.5.10.

Unfortunately, the patch number does not apply to Apple's JVM.  I'm running
1.5.07, and the compensation results in a bad authenticator.  With the source
from trunk, if I comment out that bit so it will always be "" when no
content-type is sepcified, authentication works fine.


Original discussion:
http://article.gmane.org/gmane.comp.java.restlet/898


Java system properties:
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_07-164
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Apple Computer, Inc.
java.vendor.url=http://apple.com/
java.vendor.url.bug=http://developer.apple.com/java/
java.version=1.5.0_07
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor="Apple Computer, Inc."
java.vm.version=1.5.0_07-87
os.arch=i386
os.name=Mac OS X
os.version=10.4.9



Reply via email to