Announcement Announcement Module
No announcement yet.
Changing login set up for project Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing login set up for project

    Hi All,

    I have one project made in spring roo.i have added spring security to on hitting the url i am getting login page.but with new requirement i need this changes,on hitting the url a static designed html page will this page there will be hyperlink or some image should be there for login.on clicking that image i should redirect to my login page.

    i chnaged in web.xml in welcome file list but its still redirecting to my login page.

    Below is my code in applicationContext-security.xml

    <form-login login-processing-url="/static/j_spring_security_check" login-page="/login" authentication-failure-url="/login?login_error=t" default-target-url="/default/index.jsp" always-use-default-target="true" />
    <logout logout-url="/static/j_spring_security_logout"/>

    I need some solution for this.