5
我彈簧安全登錄表單我們有以下形式Spring Security重命名登錄表單標籤名稱
<form name='f' action='/j_spring_security_check' method='POST'>
<table>
<tr><td>User:</td><td><input type='text' name='j_username' value=''></td></tr>
<tr><td>Password:</td><td><input type='password' name='j_password'/></td></tr>
<tr><td colspan='2'><input name="submit" type="submit"/></td></tr>
<tr><td colspan='2'><input name="reset" type="reset"/></td></tr>
</table>
</form>
我知道如何修改此表單上的動作屬性(使用login-processing-url="/login"
) 我的問題是如何更改j_username & j_password標籤名稱,爲用戶名和密碼?