Folks, I am using a fairly recent 4.2 SNAPSHOT (apache-activemq-4.2-20070226.071451-14).
I am using the activemq-rar file from lib/optional and installing that to a JBOSS server. It comes up and runs and seems to work fine. I am now trying to configure the embedded broker to use the jaasAuthenticationPlugin to provide a level of authentication for the broker. When I do that with the base rar I get a JMS exception that traces back to the following: Caused by: java.lang.NoClassDefFoundError: org/apache/activemq/jaas/JassCredentialCallbackHandler at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:75) at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:82) ... When I look in the activemq-core-4.2-SNAPSHOT.jar file located in the rar, sure enough it does not have anything from org/apache/activemq/jaas in it. Looking at the pom.xml file in the build for the activemq-rar project I see that jaas is specifically excluded from the target. When I add the full apache-activemq-4.2-SNAPSHOT.jar to the library for JBOSS everything works fine. My question: What was the reason JAAS is excluded from the rar? Second question: If you look at this svn commit: http://www.mail-archive.com/activemq-commits@geronimo.apache.org/msg02391.html It is pretty clear that Hiram changed the name of JassCredentialCallbackHandler to JaasCredentialCallbackHandler. But if you look in the trunk of the source tree, it is not changed. I'm just curious if this is on purpose, or was this a change made in one branch and not propagated to a new branch? lorne -- View this message in context: http://www.nabble.com/Using-JAAS-in-a-broker-embedded-in-JBOSS-tf3378823s2354.html#a9404376 Sent from the ActiveMQ - User mailing list archive at Nabble.com.