Hi All,
We have a web application that using JAAS via form Login. A login page is presented and the user enters username/password and the authentication is done in our case by websphere.
We are now removing a home grown authentication mechanism to use spring security but I wish to keep our existing JAAS setup.
I only seem to have in my web.xml
jsp :Code:<login-config> <auth-method>FORM</auth-method> <realm-name>My Realm</realm-name> <form-login-config> <form-login-page> /jaas/login.do </form-login-page> <form-error-page> /jaas/failed.do </form-error-page> </form-login-config> </login-config>
Code:<form action="j_security_check" method="post">
I have the spring security book and cannot seem to find an example of where to hook in with JAAS. I see the documentation on :
http://static.springsource.org/sprin...ence/jaas.html but not exactly sure what i need to fill in for ;/WEB-INF/login.conf etc.
Am I missing some obvious piece of documentation or is my approach correct?
Appreciate any feedback.


Reply With Quote
