Hi i need some help with password manager, i got this error.
i already check the email on my ldap profile was exist so what i'm missing?
[m [33m2021-11-04 11:20:03,267 WARN [org.apereo.cas.pm.web.flow.actions.SendPasswordResetInstructionsAction] - <No recipient is provided with a valid email/phone>
[m [1;31m2021-11-04 11:20:03,267 ERROR [org.apereo.cas.pm.web.flow.actions.SendPasswordResetInstructionsAction] - <Provided email address or phone number is invalid>
my cas.properties
#------------LDAP CONF---------------#
cas.authn.ldap[0].password-policy.groovy.location=
cas.authn.ldap[0].principal-transformation.groovy.location=
cas.authn.ldap[0].base-dn=DN
cas.authn.ldap[0].bind-credential=password
cas.authn.ldap[0].bind-dn=DN
cas.authn.ldap[0].ldap-url=ldaps://xxx.xxx.xxx:636
cas.authn.ldap[0].search-filter=userPrincipalName={user}
cas.authn.ldap[0].type=AUTHENTICATED
#---------PASSWORD MANAGER CONF--------#
cas.authn.pm.core.enabled=true
cas.authn.pm.core.policy-pattern=^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,10}
#------------PASSWORD MANAGER LDAP CONF------------#
cas.authn.pm.ldap[0].base-dn=DN
cas.authn.pm.ldap[0].bind-credential=password
cas.authn.pm.ldap[0].bind-dn=DN
cas.authn.pm.ldap[0].ldap-url=ldaps://XXX.XXX.XXX:636
cas.authn.pm.ldap[0].search-filter=userPrincipalName={user}
cas.authn.pm.ldap[0].type=AD
cas.authn.pm.ldap[0].username-attribute=userPrincipalName
#-------PASSWORD MANAGER MAIL CONF--------#
cas.authn.pm.reset.mail.attribute-name=mail
cas.authn.pm.reset.mail.subject=subject
cas.authn.pm.reset.crypto.encryption.key=value
cas.authn.pm.reset.crypto.signing.key=value
cas.authn.pm.reset.mail.text=Reset your password with this link: %s
cas.authn.pm.reset.mail.validate-addresses=false
#---------MAIL CONF---------#
spring.mail.default-encoding=UTF-8
spring.mail.host=host
spring.mail.password=password
spring.mail.port=587
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.username=username
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
#---------ENCRYPTION-------#
cas.tgc.crypto.encryption.key=value
cas.tgc.crypto.signing.key=value
cas.webflow.crypto.signing.key=value
cas.webflow.crypto.encryption.key=value
Here is my gradle.build implementation
implementation "org.apereo.cas:cas-server-core-api-configuration-model"
implementation "org.apereo.cas:cas-server-webapp-init"
implementation "org.apereo.cas:cas-server-webapp-tomcat:${project.'cas.version'}"
implementation "org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
implementation "org.apereo.cas:cas-server-support-pm-webflow:6.3.7"
implementation "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
implementation "org.apereo.cas:cas-server-support-pm-ldap:6.3.7"
implementation "org.apereo.cas:cas-server-core-notifications:${project.'cas.version'}"
Thanks
Lexo