Announcement Announcement Module
Collapse
No announcement yet.
custom login and logout url. Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • custom login and logout url.

    hi is it possible for spring security to define its own custom url. Like instead of /spring_security_check it goes to
    /myapps/spring_security_check or
    /myapps/my_security_check
    inside the filterProcessUrl for both login and logout.


    Thanks.

  • #2
    Hi,
    the easiest way to do so is to use the login-processing-url attribute:


    Code:
    <security:form-login login-page="/myApp/login.htm" login-processing-url="/myurl"
    			authentication-failure-url="/myApp/login.htm?login_error=true" />
    ...
    </security:form>

    Originally posted by cablepuff View Post
    hi is it possible for spring security to define its own custom url. Like instead of /spring_security_check it goes to
    /myapps/spring_security_check or
    /myapps/my_security_check
    inside the filterProcessUrl for both login and logout.


    Thanks.

    Comment

    Working...
    X