HI,
I have an idea, better write some class similar to NestedPrincipal which holds 
information other than the principal and set this Pricipal in the ClientLoginModule 
instead of SimplePrincipal.

         SecurityAssociation.setPrincipal(new SimplePrincipal(username));

But you should write your own databaseserverloginmodule with minimal chnages and also 
yous hould override one or two methods from the UserNamePasswrodLoginModule...

i hope this helps...bur if any one has better solution

regards
JB


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

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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to