Announcement Announcement Module
Collapse
No announcement yet.
spring authentication provider VS authentication processing filter Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring authentication provider VS authentication processing filter

    both spring authentication provider and authentication processing filter also need to register with authenticationManager?


    but what is different spring authentication provider and authentication processing filter

  • #2
    AuthenticationProcessingFilter handles web (HTTP) authentication requests (and isn't registered with the AuthenticationManager). i.e. it processes submissions to the URL j_spring_security_check.

    AuthenticationProvider handles authentication requests (not HTTP ones) at the back end:

    http://static.springframework.org/sp...nProvider.html

    Comment


    • #3
      to clarrify this.
      does that mean


      1. both must be used together if i want to implement security layer for web application ?

      2. or either one can be used, not need to use both?

      3. if i have application that run on client, not web application. i only need authentication provider, do not need authenticationprocessingfilter?

      Comment

      Working...
      X