stenheik Posted May 16, 2007 Share Posted May 16, 2007 Hi, I am a jasperserver newbie.what do i have to do to make the remember me feature working.i addes this to the login.jsp:Code:<td><input type="checkbox" name="_acegi_security_remember_me" /></td> and i have uncommented this in the appliocationContext-security.xml file:Code:[code] <!--THE--> <bean id="rememberMeProcessingFilter" class="org.acegisecurity.ui.rememberme.RememberMeProcessingFilter"> <property name="authenticationManager"><ref local="authenticationManager"/></property> <property name="rememberMeServices"><ref local="rememberMeServices"/></property> </bean> <bean id="rememberMeServices" class="org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices"> <property name="userDetailsService"><ref local="inMemoryDaoImpl"/></property> <property name="key"><value>springRocks</value></property> </bean> <bean id="rememberMeAuthenticationProvider" class="org.acegisecurity.providers.rememberme.RememberMeAuthenticationProvider"> <property name="key"><value>springRocks</value></property> </bean> When I log in with the checked remember me box a cookie is written but the auto-login doesn't work. Can you give me any advises what I did wrong respectively what I should do? thanks in advancesten Link to comment Share on other sites More sharing options...
swood Posted May 19, 2007 Share Posted May 19, 2007 Acegi Security has good documentation. You will have to plow through that to work it out. ShermanJasperSoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now