Hi Scott,

thanks a lot for your answer!

"[EMAIL PROTECTED]" wrote : The client jaas context is separate from the server 
jaas context. The client login configuration should not include the 
IpanemaServerLoginModule.As far as I understand it, there is only one 
login-config.xml, right?! So how can I differentiate between client and server 
within my JBoss server? The security configuration seems to be a VM wide 
singleton, thus I don't understand how to implement your suggestion. To avoid 
misunderstandings: My JBoss server acts as server AND client, because it needs 
to connect to other JBoss servers under certain circumstances. The other JBoss 
servers run the same application (thus, having the same security context named 
"ipanema").

"[EMAIL PROTECTED]" wrote : Simply use the client-login configuration and 
switch the identities as needed. I don't find your solution as typical since 
one typically wants a clear association of what security context is associated 
with the current thread.Probably you're right that what we do is not typical, 
because it is typical to work with only one server and one client. But in case, 
you work with multiple servers, it is not logical anymore that you need to 
manually keep track on who you are for which EJB proxy. It is IMHO logical, 
that you create an initial context for every server with which you want to work 
and everything else works automatically. I think that is what initial contexts 
and proxies are made for.

Best regards, Marco :-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860768#3860768

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860768


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to