*The warning message about the property seems to be incorrect, and using 
the documented property seems to lead to failure.*

Today, I was testing a move from v6.5.7 to v6.5.9 and I saw a warning that 
I did not see in the previous version at runtime.  I'm not having a 
functional problem, but there seems to be a disconnect between the code and 
the documentation.

When I start CAS, I am seeing the following ERROR.

Failed to bind properties under 'cas' to 
org.apereo.cas.configuration.CasConfigurationProperties

    *cas.standalone.configurationsecurity.iterations *= 999 (Origin: 
"cas.standalone.configurationSecurity.iterations" from property source 
"commandLineArgs")

----------------------------

The documented property is:

*cas.standalone.configuration-security.iteration*=999

2022-09-06 12:58:30,001 ERROR [org.apereo.cas.util.crypto.CipherExecutor] - 
<Could not decrypt value [{cas-cipher}someawesometext]

*> It appears the documented property does not work*

*----------------------*

*To try to understand the scope I tried the following:*

2022-09-06 13:13:22,629 ERROR 
[org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - <

Failed to bind properties under 'cas' to 
org.apereo.cas.configuration.CasConfigurationProperties

    *cas.standalone.configuration-security.iterations* = 999

This however seemed still to function.

*----------------------*

In the event my original was incorrect and being ignored giving way to the 
default, I tried what is posted.

*cas.standalone.configuration-security.iteration=0*

This too led to a fail to decrypt message.

*----------------------*

Using the old naming convention, I pass 


   - iterations
   - password
   - provider (SunJCE).

I've never needed to pass:


   - Algorithm
   - Initialization vector

Is there some additional requirement necessary to move to the new property 
names?

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/954222c7-9034-4332-a3ba-ed61334a6e21n%40apereo.org.

Reply via email to