List of usage examples for org.apache.shiro.web.filter.authc FormAuthenticationFilter DEFAULT_REMEMBER_ME_PARAM
String DEFAULT_REMEMBER_ME_PARAM
To view the source code for org.apache.shiro.web.filter.authc FormAuthenticationFilter DEFAULT_REMEMBER_ME_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); }/* w w w . j ava 2 s. co m*/ filter.setUsernameParam(FormAuthenticationFilter.DEFAULT_USERNAME_PARAM); filter.setPasswordParam(FormAuthenticationFilter.DEFAULT_PASSWORD_PARAM); return filter; }