Hi,

how can i set these parameters via Spring config?

authc.usernameParam = somethingOtherThanUsername
authc.passwordParam = somethingOtherThanPassword
authc.rememberMeParam = somethingOtherThanRememberMe

I thought it must be somewhere in the ShiroFilterFactoryBean but how?

    <bean id="shiroFilter"
class="org.apache.shiro.spring.web.ShiroFilterFactoryBean">
        <property name="securityManager" ref="securityManager"/>
        <property name="loginUrl" value="/s/TheLogin.app"/>
        <property name="successUrl" value="/s/goMain.app"/>
        <property name="unauthorizedUrl" value="/unauthorized.jsp"/>
        <property name="filterChainDefinitions">
            <value>
                # some example chain definitions:
                /res/** = anon
                /s/TheLogin.app = anon
                /** = authc
            </value>
        </property>
    </bean>




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/set-authc-usernameParam-via-Spring-tp7577799.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to