Announcement Announcement Module
Collapse
No announcement yet.
Multiple j_spring_security_check URLS?? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple j_spring_security_check URLS??

    hi I've got a web application which works with the username and password authentication and the spring security filter chain is invoked in my login form like that.

    Code:
    <form name="f" action="${baseUrl}/j_spring_security_check" method="POST">
    I was wondering is any URL with the /j_spring_security_check processed by the spring security fitler chain?

    I'm customised my application for request header authentication however the user details in the header fields are only populated when the user goes to the URL

    ${baseUrl}/Authn

    Will a button which goes to the URL

    Code:
    ${baseUrl}/Authn/j_spring_security_check
    be processed by the spring security filter chain? If not how do I set this up so that it does? I've currently implemented a my own filter which will extract the details from the headers if they are present.

    cheers,

  • #2
    That is the url that handles thel ogin, no more no less. Depending on your further configuration of the filtermapping and the security-url mappings the chain will or will not process the url.

    I suggest you check the basic-auth filter/implementatin and how that works because it looks like you are trying to do something similairhere.

    Comment

    Working...
    X