[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Java and https
From:       Wynn Wilkes <wynnw () wilkes ! ws>
Date:       2001-10-09 15:06:18
[Download RAW message or body]

On Tuesday 09 October 2001 03:08 am, Johannes Hofmann wrote:
> Hi,
>
> recently I played around with Swing applets and https. After installing
> the jsse stuff from sun downloading of applets via https worked fine.
> But the applet could not establish https connections.
> I got an exception like the one described in
> http://bugs.kde.org/db/21/21053.html
> This is caused by the entry
>
>   # List of comma-separated packages that start with or equal this string
>   # will cause a security exception to be thrown when
>   # passed to checkPackageAccess unless the
>   # corresponding RuntimePermission ("accessClassInPackage."+package) has
>   # been granted.
>   package.access=sun.
>
> in the java.security file of the jdk. When comenting out the last line,
> everything works fine.
Are you sure you configured the SunJSSE Provider in the java.security file?  
I've only seen those problems when the jsse stuff was misconfigured.

> Is there any reason, why an applet should not be allowed to access
> classes from the "sun." packages?
The classes that are part of the sun.* packages are not part of the standard 
Java API- so it's not really safe to rely on them.

Wynn

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic