Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Secure JMS

 
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • 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 Oracle Java
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • 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.
 
Greenhorn
Posts: 1
Android Eclipse IDE Java
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic