List of usage examples for org.apache.shiro.web.filter.authc FormAuthenticationFilter DEFAULT_PASSWORD_PARAM
String DEFAULT_PASSWORD_PARAM
To view the source code for org.apache.shiro.web.filter.authc FormAuthenticationFilter DEFAULT_PASSWORD_PARAM.
Click Source Link
From source file:com.cuisongliu.springboot.shiro.autoconfig.ShiroAutoConfig.java
License:Open Source License
private ServerFormAuthenticationFilter serverAuthenticationFilter() { ServerFormAuthenticationFilter filter = new ServerFormAuthenticationFilter(); if (springShiroProperties.getEnableRememberMe()) { filter.setRememberMeParam(FormAuthenticationFilter.DEFAULT_REMEMBER_ME_PARAM); }//from ww w. j a va 2 s.c o m filter.setUsernameParam(FormAuthenticationFilter.DEFAULT_USERNAME_PARAM); filter.setPasswordParam(FormAuthenticationFilter.DEFAULT_PASSWORD_PARAM); return filter; }