Sorry for sorry for bothering.
I don't know the real reason. But after I upgrade my cas from 4.2.3 to 
4.2.4, the problem is solved.


On Friday, August 19, 2016 at 2:19:05 AM UTC+8, Stan Sun wrote:
>
> Sorry for copying question from cas-users to here as it's urgent for me now.
>
> I need to specify the webflow.encryption.key, webflow.signing.key, 
> tgc.encryption.key and tgc.signing.key to support sharing session across 
> clusters.
> However, I found these 4 properties can not be read from cas.properties.
>
>
>
> *# The encryption secret key. By default, must be a octet string of size 256.
>  tgc.encryption.key=I8GFEhYHx4jvp22FUmmcS4gIqOfmt-eA1k-ZGIBGPLs
>
> # The signing secret key. By default, must be a octet string of size 512.
>  
> tgc.signing.key=xKB66xZL8kJYFshqql0SpwIJIzd2U2h-u0St6UVNi1pOXUWdd_SoDkecWm3W8hAQWelNtSbXvWvbx_ZzXPcJIA*
>
> *# The encryption secret key. By default, must be a octet string of size 256.
>  webflow.encryption.key=RU148RPTrqFaxpXMW5S2-EKEyaCtWxIQq08eX61Rok0
> # The signing secret key. By default, must be a octet string of size 512.
>  
> webflow.signing.key=shqqRqA2dVPx-KZwYCTzL7Y231B9ynWPr9VnPNoZ1mn9LZJPUj-FhXrBSHjIjwpEn1f_dfvLyqqvbVihRHFZ7g*
>
> the log is as follows
> 2016-08-17 16:43:21,271 WARN [org.jasig.cas.util.WebflowCipherExecutor] - 
> <Secret key for signing is not defined. CAS will attempt to auto-generate the 
> signing key>
> 2016-08-17 16:43:21,275 WARN [org.jasig.cas.util.WebflowCipherExecutor] - 
> <Generated signing key 
> pGg6HPdDHja5GdKWGxZaSsYScPrQqztY6guRQYsF5LmsfBu1JT8JgOISElwpOkLmW7CAnksOxON-pAiT1hqfew
>  of size 512. The generated key MUST be added to CAS settings.>
> 2016-08-17 16:43:21,275 WARN [org.jasig.cas.util.WebflowCipherExecutor] - <No 
> encryption key is defined. CAS will attempt to auto-generate keys>
> 2016-08-17 16:43:21,277 WARN [org.jasig.cas.util.WebflowCipherExecutor] - 
> <Generated encryption key cheuwfbbDkQMXQlT of size 16. The generated key MUST 
> be added to CAS settings.>
>
> Besides, through remote debug,  I found the keys are always "" while the 
> other properties such as tgc.path and  memcached.servers can be read 
> correctly.
>
>
> So does anyone meet the same problem?
>
> It guess class WebflowCipherExecutor is not initialized  with properties from 
> load cas.properties.
>
> can someone help me out? 
>
>
> Thanks very much.
>
>
> Thanks
>
> Stan Sun
>
>

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

Reply via email to