Jump to content
JasperReports Library 7.0 is now available ×

remember me


stenheik

Recommended Posts

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 advance

sten

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...