List of usage examples for org.apache.shiro.web.filter.authc FormAuthenticationFilter setPasswordParam
public void setPasswordParam(String passwordParam)
From source file:org.panifex.security.shiro.SecurityFilterImpl.java
License:Open Source License
protected void bindPasswordParamToFormAuthenticationFilter() { FormAuthenticationFilter formAuthenticationFilter = getFormAuthenticationFilter(); if (formAuthenticationFilter != null) { log.debug("Bind password param {}", passwordParam); formAuthenticationFilter.setPasswordParam(passwordParam); }//w ww . j a va 2s . c o m }
From source file:org.panifex.security.shiro.SecurityFilterImplTest.java
License:Open Source License
private void expectSettingPasswordParam(String passwordParam) { FormAuthenticationFilter filterMock = expectGettingFormAuthenticationFilter(); // expect setting password param filterMock.setPasswordParam(passwordParam); }