I am trying to get a MDB working with JAAS. Currently when message
delivery is attempted it throws an error Authentication exception,
principal=null. Now in the jms-service.xml I have added
<attribute name="PrincipalMappingProperties">
UserName=jboss
Password=jboss1
</attribute>
but this does not do anything. I can not find any refences to this in
either the free or purchased docs. Can some one point me in the right
direction.
time passes ...
After further investigation it looks like it is not implemented. In the
JMSContainerInvoker it creates the method invocation with principal and
credential = null. Then when the SecurityInterceptor gets a hold of it
barfs. The snip, line 976 of JMSContainerInvoker.java
invoker.invoke(id,
// Object id - where used?
ON_MESSAGE,
// Method to invoke
new Object[]{message},
// argument
tm.getTransaction(),
// Transaction
null,
// Principal
null);
// Cred
How should I go about getting this to work?
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development