ldap authenticator problems
Rene Paquin
rpaquin at wlu.ca
Wed Apr 21 13:59:05 UTC 2021
I am setting up a new install of shibboleth idp 4.1 and I am getting authentication errors. I am missing something but I dint know what. I have configured the password-authn-config.xml for ldap validation, configured ldap.properties and authn.properties but when trying to connect I get the following errors
Any help appreciated.
2021-04-21 09:46:41,483 - 192.168.1.1 - WARN [net.shibboleth.ext.spring.context.FilesystemGenericWebApplicationContext:591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.Password.Validators': Cannot resolve reference to bean 'shibboleth.LDAPValidator' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ValidateUsernamePasswordAgainstLDAP' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Cannot resolve reference to bean 'shibboleth.authn.LDAP.authenticator' while setting bean property 'authenticator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.LDAP.authenticator' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
2021-04-21 09:46:41,493 - 192.168.1.1 - ERROR [net.shibboleth.idp.authn:-2] - Uncaught runtime exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.Password.Validators': Cannot resolve reference to bean 'shibboleth.LDAPValidator' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ValidateUsernamePasswordAgainstLDAP' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Cannot resolve reference to bean 'shibboleth.authn.LDAP.authenticator' while setting bean property 'authenticator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.LDAP.authenticator' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ValidateUsernamePasswordAgainstLDAP' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Cannot resolve reference to bean 'shibboleth.authn.LDAP.authenticator' while setting bean property 'authenticator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.LDAP.authenticator' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.LDAP.authenticator' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
Caused by: java.lang.NullPointerException: null
at net.shibboleth.idp.authn.config.LDAPAuthenticationFactoryBean.createInstance(LDAPAuthenticationFactoryBean.java:629)
2021-04-21 09:46:41,513 - 192.168.1.1 - WARN [org.opensaml.profile.action.impl.LogEvent:101] - A non-proceed event occurred while processing the request: RuntimeException
Thank you,
********************************
Rene Paquin - Systems Administrator
Wilfrid Laurier University
Waterloo, Ontario
(519)884-0710 x3795
rpaquin at wlu.ca<mailto:rpaquin at wlu.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20210421/0760ecce/attachment.htm>
More information about the users
mailing list