Cas 6.6.5 / password reset feature

57 views
Skip to first unread message

Real Talk

unread,
Mar 15, 2023, 11:25:47 PM3/15/23
to CAS Community
Hi Community !

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.html

cas.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.com
cas.authn.pm.reset.mail.subject=value

I specify that I use LDAP for authentication.
Do you have an idea ?

[2023-03-09 15:20:35] [info] CAS Version: 6.6.5
[2023-03-09 15:20:35] [info] CAS Branch: 6.6.x
[2023-03-09 15:20:35] [info] CAS Commit Id: 3a83ce56ee1d592107ad5c2fb656f14dcdd7ab66

Regards.
Reply all
Reply to author
Forward
0 new messages