1 Reply Latest reply on Sep 4, 2002 12:55 AM by zx44093

    JAAS and JWS problem

    zx44093 Newbie

      I am having a problem when deploy my application using Java Web Start with JAAS. The application runs fine in command mode. I signed all the jar files and when Web Start lunches the application, I get the following error:

      An error occurred while launching/running the application.

      Title: My Application
      Vendor: ABC Inc.
      Category: Security Error

      access denied (java.util.PropertyPermission java.security.auth.login.config write)



      java.security.AccessControlException: access denied (java.util.PropertyPermission java.security.auth.login.config write)

      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)

      at java.security.AccessController.checkPermission(AccessController.java:401)

      at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

      at java.lang.System.setProperty(System.java:653)

      at com.test.App.main(App.java:729)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at com.sun.javaws.Launcher.executeApplication(Unknown Source)

      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Thread.java:536)



      Based on the JWS Forums, loading auth.conf problem should have been fixed in JDK 1.4. I am using JBoss 3.0.

      Have anyone been able to get JWS to work when JAAS is in plcae?

      Any help is appreciated.

      Thanks.

      zx