Jihad Mahayni wrote:

I am wondering if anybody could show me how to extract the username and password from request in an application that uses Acegi. Any help is greatly appreciated.

For 0.9.0 and above: SecurityContextHolder.getContext().getAuthentication().getXXXX().

For 0.8.3, use ((SecureContext)ContextHolder.getContext()).getAuthentication().getXXXX().


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to