CAS 6.0 - surrogate support with hazelcast ticket registry
47 views
Skip to first unread message
David McMillan
unread,
Jan 11, 2019, 11:26:25 AM1/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
I've been doing some testing with CAS 6.0 and found that having the surrogate enabled with hazelcast causes a serialization issue when storing the CAS ticket. Having either one enabled with the other disabled makes the system work fine. We have been looking at using surrogate for our Testing environments but in prior versions with using an LDAP attribute repository, I had been unable to get CAS to release the attributes for the surrogate user. Hoping this is now possible with 6.0. It wasn't working with 5.2.
Kálmán Kostenszky
unread,
May 7, 2019, 7:15:35 AM5/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
It fails because for some reason RefreshScoped beans can't be serialized. In SurrogateAuthenticationConfiguration the ExpirationPolicy is defined in RefreshScope. As a workaround you should modify the bean method and remove @RefreshScope