Announcement Announcement Module
Collapse
No announcement yet.
URL-based authentication provider Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • URL-based authentication provider

    I need to authenticate users against two different UserDetailProviders depending on which URL on the website user is going to. I have browsed Spring docs and sources and the only solution I can see is defining two AuthManagers and then implementing custom voter that will match role against URL. Or something like that.

    Is there any other (read: simpler) way? I would rather prefer something along the lines of two separate security filter chains, but that does not seem to be possible.

    Any advice?

    Thanks!
    Peter
Working...
X