Good morning,
I'm trying to configure the password reset feature on my current CAS but I get the following error which I can't figure out:
[2023-03-09
15:22:10] [info] #033[1;31m2023-03-09 15:22:10,705 ERROR
[org.springframework.boot.web.servlet.support.ErrorPageFilter] -
<Forwarding to error page from request [/login] due to exception
[Exception thrown executing
org.apereo.cas.pm.web.flow.actions.SendPasswordResetInstructionsAction@441fe943
in state 'sendPasswordResetInstructions' of flow 'login' -- action
execution attributes were 'map [[empty]]']>#033[m
[2023-03-09
15:22:10] [info]
org.springframework.webflow.execution.ActionExecutionException:
Exception thrown executing
org.apereo.cas.pm.web.flow.actions.SendPasswordResetInstructionsAction@441fe943
in state 'sendPasswordResetInstructions' of flow 'login' -- action
execution attributes were 'map[[empty]]'Here is the definition in cas.properties following the documentation here:
https://apereo.github.io/cas/6.6.x/password_management/Password-Management.htmlcas.authn.pm.core.enabled=true
cas.authn.pm.core.password-policy-pattern=^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$ !%*?&])[A-Za-z\d$@$!%*?&]{8,50}
cas.authn.pm.reset.crypto.encryption.key=value
cas.authn.pm.reset.crypto.signing.key=value
cas.authn.pm.reset.mail.attribute-name=mail
cas.authn.pm.reset.mail.from=
x...@mydomain.comcas.authn.pm.reset.mail.subject=value
I specify that I use LDAP for authentication.
Do you have an idea ?