Integrating Struts2 and spring security -with apache ds
Pre-requisites: Apache directory studio-1.5.3 Apache- Ds server 1.5 Jboss5.1ga Eclipse Java 1.6 Add a application-security-ldap.xml to web-inf folder. The application-secuirty-ldap.xml file contains 2 parts that needs to be configured: http and the authentication manager The http tag-contains url that needs to be authenticated and and authorised with role. If a user is authenticated and not authorised -then the app redirects the user to access denied page.This configuration is done in web.xml file. The second part is the <authentication-manager> this has information about type of authentication provider used, its urls and credentials.In the below example I have used ldap-server which connects with apache ds which is listening at port:10389 and the partition that needs to be searched is "sevenSeas". The ldap-a...