Error Authenticating - Advice Please

JMee123 jamee at brooksbymelton.ac.uk
Wed Feb 14 06:36:20 EST 2018


Hi all,

I am still in the process of setting up our Shibboleth v3. I have now
registered our IdP with the UKFederation for testing purposes. When i then
try to login to the test site, i get a "Web Login Service - Error An error
occurred: ActionExecutionException".

I'm trying to authenticate via LDAP, and in the logs, it throws up the
following error:

2018-02-14 11:30:57,007 - ERROR
[org.springframework.webflow.execution.ActionExecutionException:76] - 
org.springframework.webflow.execution.ActionExecutionException: Exception
thrown executing [AnnotatedAction at 6223c207 targetAction =
[EvaluateAction at 5b965e56 expression = ValidateUsernamePassword,
resultExpression = [null]], attributes = map[[empty]]] in state
'ValidateUsernamePassword' of flow 'authn/Password' -- action execution
attributes were 'map[[empty]]'
	at
org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:60)
Caused by: org.springframework.binding.expression.EvaluationException: An
ELException occurred getting the value for expression
'ValidateUsernamePassword' on context [class
org.springframework.webflow.engine.impl.RequestControlContextImpl]
	at
org.springframework.binding.expression.spel.SpringELExpression.getValue(SpringELExpression.java:92)
Caused by: org.springframework.expression.spel.SpelEvaluationException:
EL1021E:(pos 0): A problem occurred whilst attempting to access the property
'ValidateUsernamePassword': 'Error creating bean with name
'ValidateUsernamePasswordAgainstLDAP' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\system\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 'adAuthenticator' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'authHandler' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authHandler' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindPooledConnectionFactory' while setting bean property
'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindPooledConnectionFactory' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindConnectionPool' while setting bean property
'connectionPool'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindConnectionPool' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?'
	at
org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:216)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ValidateUsernamePasswordAgainstLDAP' defined in
file [C:\Program Files
(x86)\Shibboleth\IdP\system\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 'adAuthenticator' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'authHandler' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authHandler' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindPooledConnectionFactory' while setting bean property
'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindPooledConnectionFactory' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindConnectionPool' while setting bean property
'connectionPool'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindConnectionPool' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'adAuthenticator' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'authHandler' while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authHandler' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindPooledConnectionFactory' while setting bean property
'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindPooledConnectionFactory' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindConnectionPool' while setting bean property
'connectionPool'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindConnectionPool' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authHandler' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindPooledConnectionFactory' while setting bean property
'connectionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindPooledConnectionFactory' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
reference to bean 'bindConnectionPool' while setting bean property
'connectionPool'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindConnectionPool' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'bindPooledConnectionFactory' defined in file
[C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]:
Cannot resolve reference to bean 'bindConnectionPool' while setting bean
property 'connectionPool'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'bindConnectionPool' defined in file [C:\Program Files
(x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'bindConnectionPool' defined in file [C:\Program
Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Invocation of
init method failed; nested exception is java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
Caused by: java.lang.IllegalArgumentException:
java.security.GeneralSecurityException: java.io.FileNotFoundException:
ServletContext resource [/undefined] cannot be resolved to absolute file
path - web application archive not expanded?
	at
org.ldaptive.provider.jndi.JndiProvider.getJndiStartTLSConnectionFactory(JndiProvider.java:167)
Caused by: java.security.GeneralSecurityException:
java.io.FileNotFoundException: ServletContext resource [/undefined] cannot
be resolved to absolute file path - web application archive not expanded?
	at
net.shibboleth.idp.authn.impl.X509ResourceCredentialConfig.createSSLContextInitializer(X509ResourceCredentialConfig.java:107)
Caused by: java.io.FileNotFoundException: ServletContext resource
[/undefined] cannot be resolved to absolute file path - web application
archive not expanded?
	at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:274)



I was wondering if anybody could point me in the right direction, as to what
would be causing this? Very new to Shibboleth, so apologies if it's a simple
answer!

Many thanks, and appreciate your time,

Joe





--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html


More information about the users mailing list