wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring Security Not intercepting the request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Security Not intercepting the request" Watch "Spring Security Not intercepting the request" New topic

Spring Security Not intercepting the request

Rithanya Laxmi
Ranch Hand

Joined: Jan 24, 2011
Posts: 136

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="org.springframework.security.authentication.ProviderManager">
<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?


I agree. Here's the link: http://aspose.com/file-tools
subject: Spring Security Not intercepting the request
Similar Threads
spring security 3.1 destroys existing session with active user logged in
RichFaces + Spring Security -- Problem Load RichFaces
Spring LDAP/Active Directory Security: Authenticate User w/out Using an Admin/Mgr Account
“j_spring_security_check” not found after configuring spring security without http namespace
javax.servlet.ServletException: No adapter for handler