We have developed a portal to display all the applications once user is
authenticated . This portal display Icons for .net as well as j2ee
applications. Once user selects the J2EE web application we verify the
secure domain cookie for time out and  retrieve the user id that is
authenticated. Now onwards I would like to use J2EE declararative security
for J2EE application  or programmatic security using
request.getUserPrincipal(). I have verified the documentation, I didn't find
how to programmatically set this principal in the servlet filter. I have
found all the information that I need to do for creating the custom registry
and login modules. But I don't think I need to develop a login module, I
just want to set this principal in servlet filter, so that the servlet
declarative security mechanism use this principal to validate against the
custom registry. But .net supports this by associating the principal to the
thread in program.

Can you please advise.


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to