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