hi, after i try i got new error like this ERROR [org.apereo.cas.pm.LdapPasswordManagementService] - <NullPointerException> WARN [org.apereo.cas.pm.LdapPasswordManagementService] - <Email address [null] for [[email protected]] is not valid>
before it i've try to login with email and it success then when i try to reset the password this is happened any advice for this kind of error thanks. Pada tanggal Rab, 3 Nov 2021 pukul 14.56 Fabio Bettiol < [email protected]> menulis: > Was working fine on 6.3.7. After uptading CAS, got the same error. > In order to solve this issue, while using CAS 6.4.2, I had to downgrade > *org.apereo.cas:cas-server-support-pm-ldap* to the following: > > In build.gradle: > ... > implementation "org.apereo.cas:cas-server-support-pm-ldap:*6.4.0-RC4*" > ... > > Tryed every other version whitout success. > > Just in case, I had to take a similar solution for; > *org.apereo.cas:cas-server-support-mongo-ticket-registry:* > > > https://groups.google.com/a/apereo.org/g/cas-user/c/XFNqIJG6XOg/m/0XCdS6uSAAAJ > > Fabio > El miércoles, 3 de noviembre de 2021 a las 8:45:00 UTC+1, [email protected] > escribió: > >> Hi i need some help >> i facing error with my cas, here is the error >> >> 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@21c68553 >> in state 'sendPasswordResetInstructions' of flow 'login' -- action >> execution attributes were 'map[[empty]]']> >> >> This is the only error i got from cas.log >> >> here is my cas.properties >> cas.server.name=https://cas.example.org:8443 >> cas.server.prefix=${cas.server.name}/cas >> >> logging.config=file:/etc/cas/config/log4j2.xml >> >> cas.authn.accept.enabled=false >> #json >> cas.service-registry.core.init-from-json=false >> cas.service-registry.json.location=file:/etc/cas/services >> >> #theme >> cas.theme.default-theme-name=sso >> >> #Ldap >> 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 >> cas.authn.ldap[0].search-filter=userPrincipalName={user} >> cas.authn.ldap[0].type=AUTHENTICATED >> >> #PM module >> cas.authn.pm.core.enabled=true >> >> cas.authn.pm.core.policy-pattern=^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,16} >> >> #PM Ldap >> 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 >> cas.authn.pm.ldap[0].search-filter=userPrincipalName={user} >> cas.authn.pm.ldap[0].type=AD >> >> >> #Reset Email >> cas.authn.pm.reset.mail.attribute-name=mail >> cas.authn.pm.reset.mail.from=email address >> cas.authn.pm.reset.mail.subject=mail subject >> cas.authn.pm.reset.crypto.encryption.key=value >> cas.authn.pm.reset.crypto.signing.key=value >> cas.authn.pm.reset.mail.replyTo=email address >> cas.authn.pm.reset.mail.html=false >> cas.authn.pm.reset.expirationMinutes=5 >> cas.authn.pm.reset.crypto.enabled=true >> cas.authn.pm.autoLogin=false >> >> #smtp >> 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=true >> spring.mail.username=username >> spring.mail.properties.mail.smtp.auth=false >> 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 >> >> is there any missing from my configuration?? >> >> -- - 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/CAOeBKpd6rbSoP7VKX8K3-4SjWcEne9vXmv62HW1YVa5%2BYe4WDQ%40mail.gmail.com.
