Announcement Announcement Module
Collapse
No announcement yet.
Changing login set up for project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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 it.so 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 come.in 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"/>
    </form-login>

    I need some solution for this.
Working...
X