Subject: Security Add-On Problems
From: Ralph Grove (groverf@jmu.edu)
Date: Tue Feb 04 2003 - 19:22:53 MET
I'm trying to install the security add-on to Jade 2.61 and would like to
ask about the following problems. Thanks for any help or guidance you
can provide.
1. The tutorial mentions the class jade.security.impl.User for managing
password files, but that class doesn't seem to be present in the
distribution. Is it available somewhere else?
2. The example described in the tutorial that resides in
runExamples/myfirst works great when executed from the myfirst
directory. I tried copying the batch, conf, passwd, and policy files to
the jade root directory, making appropriate modifications to path names
in the .bat and .policy files. Jade terminates with this message:
java.security.AccessControlException: access denied
(java.security.SecurityPermission getPolicy)
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.security.Policy.getPolicy(Policy.java:111)
at jade.security.impl.PlatformAuthority.getPermissions(Unknown Source)
at jade.security.impl.PlatformAuthority.access$000(Unknown Source)
at jade.security.impl.PlatformAuthority$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at jade.security.impl.PlatformAuthority.authenticate(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Some problem occurred while contacting agent platform.
java.lang.NullPointerException
at jade.security.impl.PlatformAuthority.authenticate(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
-- Ralph F. Grove James Madison University Department of Computer Science groverf@jmu.edu
This archive was generated by hypermail 2a22 : Tue Feb 04 2003 - 19:21:44 MET