Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Security Not intercepting the request

Rithanya Laxmi
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

My application doesnot have a GUI, where I need to implement Spring LDAP security for AD authentication. Since I dont have a GUI I am using Spring security basic authentication and in the authentication manager i am calling the ldapAuthProvider for Spring LDAP validation. Below is what I am doing:-

<http auto-config="true" pattern="/**" authentication-manager-ref="authenticationManager">


<beans:bean id="authenticationManager" class="">
<beans:property name="providers">
<beans:ref local="ldapAuthProvider"/>

// Configuration for LDAP

Here when I invoke the URL, which is given as "/**" the request is not intercepted by SpringLDAP ?

In web.xml I have the below:-

<description>Spring Configuration Locations</description>




Please clarify why the request is not getting intercepted by spring security?


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic