<form id="loginForm" action="${base!}/platform/login/doLogin" data-parsley-validate="" novalidate=""
role="form"
method="post">
<input type="hidden" id="captcha" name="captcha">
protected AuthenticationToken createToken(HttpServletRequest request) {
String username = getUsername(request);
String password = getPassword(request);
String captcha = getCaptcha(request);
boolean rememberMe = isRememberMe(request);
String host = getHost(request);
return new CaptchaToken(username, password, rememberMe, host, captcha);
}
在用post时,过滤器中也接收不到数据,是用getParameter方法的,用get时可以正常接收数据