• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to supress the Spring security basic http authentication popup for non web application

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

I have an application which is not having GUI, I am using the Spring security basic http , which popups authentication
popup always. How to suppress the popup in spring security

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

</http>

<beans:bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">
<beans:property name="providers">
<beans:list>
<beans:ref local="ldapAuthProvider"/>
</beans:list>
</beans:property>
</beans:bean>
// Configuration for LDAP


Thanks.
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you have Spring Security enabled, if you don't need it. I would remove all security settings out of it.

 
Rithanya Laxmi
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. If we are not using Spring security how we can configure Spring LDAP in Spring applicationContext.xml as the ldapAuthProvider should be invoked ? Using Spring security , the ldapAuthProvider is invoked through the Spring security "authenticationManager"? Please clarify.
 
reply
    Bookmark Topic Watch Topic
  • New Topic