Yes, do a JAAS login and they are running with whatever roles you have
assigned to the user in the login configuration you used.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Brian Wallis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 10:28 PM
Subject: [JBoss-user] MBeans and Security



I have an MBean that I use for initialisation of some things in my app and it 
needs to call methods on a session bean. Now I can do that quite easily but I 
am not sure how I set up an appropriate security context. Do I just do a JAAS 
login based on attributes passed into the MBean (from the descriptor for it) 
or is there a mechanism already in place to do this for MBeans. ie: Who are 
they running as when startservice is called?

thanks
brian wallis...



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to