Hey,

I have a problem sending notifications when changing a user's password. Why 
send by SMS?

Error:
2019-06-19 12:44:07,314 WARN [org.apereo.cas.util.io.CommunicationsManager] 
- <CAS is unable to send tokens via sms messages given no settings are 
defined to account for sms providers, etc>
2019-06-19 12:44:07,319 WARN 
[org.apereo.cas.pm.web.flow.actions.SendPasswordResetInstructionsAction] - 
<No recipient is provided>

My configuration:

###################################################################
#       RESET HASŁA                                               #
###################################################################

###################### Powiadomienia mailowe

spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=XXXXXXX
spring.mail.password=XXXXXX
spring.mail.testConnection=true
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

${configurationKey}.mail.from=XXXXX
${configurationKey}.mail.text=Reset your password with this link: %s
${configurationKey}.mail.subject=Password Reset Request
#cas.authn.pm.ldapmail.cc=
#cas.authn.pm.ldap.bcc=
${configurationKey}.mail.attributeName=mail

###################### Zmiana hasła

cas.authn.pm.enabled=true

# Minimum 8 and Maximum 10 characters at least 1 Uppercase Alphabet, 1 
Lowercase Alphabet, 1 Number and 1 Special Character
cas.authn.pm.policyPattern=^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[$@$!%*?&])[A-Za-z\\d$@$!%*?&]{8,10}

cas.authn.pm.reset.expirationMinutes=5
cas.authn.pm.reset.securityQuestionsEnabled=false

# Automatically log in after successful password change
cas.authn.pm.autoLogin=false

cas.authn.pm.ldap.type=AD
#cas.authn.pm.ldap.usernameAttribute=sAMAccountName
#cas.authn.pm.ldap.searchFilterUsername=userPrincipalName={user}
cas.authn.pm.ldap.ldapUrl=ldap://XXXXXX
cas.authn.pm.ldap.useSsl=false
cas.authn.pm.ldap.baseDn=ou=XXX,dc=XXX
cas.authn.pm.ldap.searchFilter=(sAMAccountName={user})
cas.authn.pm.ldap.bindDn=XXX@XXXX
cas.authn.pm.ldap.bindCredential=XXXXX

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a92fc35d-5b91-47aa-91b5-19ce4ee1dcf1%40apereo.org.

Reply via email to