Hello CasUsers
i try to add RememberMe into jasig.
I read documentation here
-->http://jasig.github.io/cas/development/installation/Configuring-LongTerm-Authentication.html
and when i add this step :
<bean id="authenticationManager"
class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager">
<constructor-arg>
<map>
<entry key-ref="passwordHandler" value-ref="ldapPrincipalResolver"/>
</map>
</constructor-arg>
<property name="authenticationMetaDataPopulators">
<list>
<bean
class="org.jasig.cas.authentication.SuccessfulHandlerMetaDataPopulator" />
<bean
class="org.jasig.cas.authentication.principal.RememberMeAuthenticationMetaDataPopulator"
/>
</list>
</property></bean>
I got this error in catalina.out
>
2014-08-01 22:03:03,499 DEBUG
[org.jasig.cas.ticket.registry.MemCacheTicketRegistry] - <Adding ticket
TGT-2-dV4462AyIO59m6m7fd3Pn3b7bGTqocHz9zHxRMzvpAD6gd9dD5-cas2>
2014-08-01 22:03:03,512 ERROR
[org.jasig.cas.ticket.registry.MemCacheTicketRegistry] - <Failed adding
TGT-2-dV4462AyIO59m6m7fd3Pn3b7bGTqocHz9zHxRMzvpAD6gd9dD5-cas2>
java.lang.IllegalArgumentException: Non-serializable object
When i don"t add this line, i don't have error and RememberMe seems to work
...
Do you know what the role of this lines ?
Best regards
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user