Not sure I understand your question.
The jms client notion of user/password is not
integrated with jaas.
i.e. JBossMQ does not use the identity from a jaas login
on the client.
JBossMQ uses a jaas login configuration
internally to handle the authenitcation of user/password
see jbossmq in conf/login-config.xml
If this isn't supplied it uses the unauthenticated identity
I'm trying to make a JMS Client act as a JAAS role, for authentication purposes, for accessing some SLSBs that perform the bussines logic (anyone shouldn't access this bean! only authenticated users!).
Any suggestions about how to implement this?
Thanks a lot,
I would also like to know if I can implement a dynamic login module through a DB. I've opened the login-config.xml and seen that a login module called "org.jboss.resource.security.ConfiguredIdentityLoginModule" that is used in the MysqlDbRealm.
Should I use this?