File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Secure JMS

 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I want to know about secure JMS. What is secure JMS and how we can achieve this in JBoss?

Thanks,
Uttam Kumar
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can add roles to your destination descriptions. See the docs/examples/jms/example-destinations-service.xml file, look for "<attribute name="SecurityConfig">". The login module to use for JMS is defined in server/xxx/deploy/messaging/messaging-jboss-beans.xml. You can define a login module in server/xxx/conf/login-config.xml.

By the way, I cover this topic in section 8.5.2 of JBoss in Action.

 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,

Thanks for the response. Can we add security to the entire JMS server instead of defining roles at JMS resources level?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, access control is defined on a per-destination basis. There is a default role that can be associated with JMS, but it is the role to use if the client does not provide any credentials.
 
Vitaliy Tkachenko
Greenhorn
Posts: 1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Peter!
Hope you are still watching this
As I understand you have mentioned here JBoss 5. Do you know if this secure procedures are possible with JBoss 4? (Particularly I need this to have done for JBoss 4.0.5). If yes what differences in configurations I should expect? As I know JBoss Messaging is used in JBoss 5 and JBossMQ in JBoss 4.
I will appreciate your answer pretty much. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic