login work
This commit is contained in:
parent
a21d9e4538
commit
bcc0338f7a
|
@ -9,8 +9,12 @@
|
|||
<intercept-url pattern="/login*" access="isAnonymous()" />
|
||||
<intercept-url pattern="/**" access="isAuthenticated()" />
|
||||
|
||||
<form-login login-page='/login.html' default-target-url="/homepage.html"
|
||||
authentication-failure-url="/login.html?error=true" />
|
||||
<form-login
|
||||
login-page='/login.html'
|
||||
login-processing-url="/perform_login"
|
||||
default-target-url="/homepage.html"
|
||||
authentication-failure-url="/login.html?error=true"
|
||||
always-use-default-target="true"/>
|
||||
|
||||
</http>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<body>
|
||||
<h1>Login</h1>
|
||||
|
||||
<form name='f' action="j_spring_security_check" method='POST'>
|
||||
<form name='f' action="perform_login" method='POST'>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue