Thanks for your help I can't tell you much it has helped so far.  Unfortunately, I 
have run into another problem.

I would like to create custom RMI server and client socket factories that encrypt and 
decrypt the entire RMI message using the SRP SecretKey created during login.  

On the client I am able to get the SecretKey from the Subject and create 
encryption/decryption Ciphers based on the SecretKey.  The problem is on the server.  
How do I get the Subject for the client that is connecting to the server?  I tried to 
do this after the socket accept but it returned null:

Subject subject = SecurityAssociation.getSubject();

How does the RMIServerSocket retrieve the apprioprate Subject so the server side 
socket can access a SecretKey that matches the clients so it can setup ciphers for 
input and output communication?

I am using v3.2.3, with the service code from chap8 ex to perform the login. 
Thanks for all your help.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to