Shibboleth IDPv4 on Windows (New Install)

Rick Hoodenpyle rhoodenpyle at rms-inc.com
Fri Jul 15 08:39:08 UTC 2022


Hello all,



I have just installed Shibboleth IDPv4 Latest on a Windows 2019 Server. I
think I may be having issues with LDAP, but not sure. When I am redirected
from our website with Shibboleth SP Latest release it gives me the
following:





Just in case the image doesn’t come through the error says: An error
occurred: FlowExecutionException



In the logs I get the following:



2022-07-15 01:57:33,740 - 192.168.0.241 - 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.IllegalArgumentException: java.security.GeneralSecurityException:
java.io.FileNotFoundException: ServletContext resource [/undefined] cannot
be resolved to absolute file path - web application archive not expanded?

2022-07-15 01:57:33,750 - 192.168.0.241 - ERROR
[org.springframework.webflow.execution.FlowExecutionException:91] -

org.springframework.webflow.execution.FlowExecutionException: Exception
thrown in state 'CallAuthenticationFlow' of flow 'authn'

                at
org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:573)

Caused by: 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.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: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.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: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.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:1804)

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.unboundid.UnboundIDProvider.getConnectionFactory(UnboundIDProvider.java:51)

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:344)

2022-07-15 02:28:44,860 -  - INFO
[org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:366]
- Metadata Resolver FilesystemMetadataResolver LocalMetadata: Metadata from
'C:\Program Files (x86)\Shibboleth\IdP\metadata\sp\SITE_Metadata.xml' has
not changed since last refresh

2022-07-15 02:28:44,861 -  - INFO
[org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver:396]
- Metadata Resolver FilesystemMetadataResolver LocalMetadata: Next refresh
cycle for metadata provider 'C:\Program Files
(x86)\Shibboleth\IdP\metadata\sp\SITE-sql_Metadata.xml' will occur on
'2022-07-15T09:28:44.857612900Z'
('2022-07-15T05:28:44.857612900-04:00[America/New_York]' local time)



Can you assist me in finding where to look for this issue?



Cheers,



Rick



Rick Hoodenpyle

DevOps Specialist

Residential Management Systems, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220715/20f87a2c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16128 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20220715/20f87a2c/attachment.png>


More information about the users mailing list