-
1. Re: Principal Propagation and Messaging
gaohoward Mar 17, 2010 8:57 AM (in response to m.gerlinger)Not sure what your problem is. If you want to know how to configure authorization for queues, please have a look at JBoss Messaging user's manual.
Find it at jboss.org.
-
2. Re: Principal Propagation and Messaging
m.gerlinger Mar 17, 2010 10:04 AM (in response to gaohoward)Tahks for your answer,
to get my code snippets work I've some problems to solve.
For example
- how to customize authentication mechanism for one of several queues in one server without affecting all other queues.
- how to use customized principal / Login modul to autorize writing into the queue (for example to enable ticket based authentication and don't use username password)
- how to get the caller principal propagated througt the queue to make it accessible for the message consuming MessageDrivenBean
I really tried to finde answeres in the userguide of the messaging server (and in several other pdf, wiki sides, blogs and books too)
But I'm not able t find some usefull hints. Could you give me some please?
Cheers
Michael
-
3. Re: Principal Propagation and Messaging
gaohoward Mar 17, 2010 10:20 AM (in response to m.gerlinger)- how to customize authentication mechanism for one of several queues in one server without affecting all other queues.
With JBoss Messaging, authentication happens only in connection time. You can configure destinations for which role have what rights. You can find details in the user document.- how to use customized principal / Login modul to autorize writing into the queue (for example to enable ticket based authentication and don't use username password)
- how to get the caller principal propagated througt the queue to make it accessible for the message consuming MessageDrivenBean
I think the above two questions belongs to AS configuration. I don't know much about the details, you should ask the AS forum for help. Take a look at messaging-jboss-beans.xml for some clue. I think it's possible to configure to use a different login module other than the DatabaseServerLoginModule.