<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Im try to connect windows shibboleth idp 3.4 with <span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%">
<a href="https://workspace.google.com/business/"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%;text-decoration:none">G Suite</span></a>, but I get errors.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%">Ldap.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#181717;mso-style-textfill-fill-color:#181717;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoNormal"># LDAP authentication configuration, see authn/ldap-authn-config.xml<o:p></o:p></p>
<p class="MsoNormal"># Note, this doesn't apply to the use of JAAS<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">## Authenticator strategy, either anonSearchAuthenticator, bindSearchAuthenticator, directAuthenticator, adAuthenticator<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.authenticator                   =  bindSearchAuthenticator<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">## Connection properties ##<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.ldapURL                          = ldap://ldap.google.com:636<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.useStartTLS                     = true<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.useSSL                          = true<o:p></o:p></p>
<p class="MsoNormal"># Time in milliseconds that connects will block<o:p></o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.connectTimeout                  = PT3S<o:p></o:p></p>
<p class="MsoNormal"># Time in milliseconds to wait for responses<o:p></o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.responseTimeout                 = PT3S<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">## SSL configuration, either jvmTrust, certificateTrust, or keyStoreTrust<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.sslConfig                       = certificateTrust<o:p></o:p></p>
<p class="MsoNormal">## If using certificateTrust above, set to the trusted certificate's path<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.trustCertificates                = %{idp.home}/credentials/ldap-client.crt<o:p></o:p></p>
<p class="MsoNormal">## If using keyStoreTrust above, set to the truststore path<o:p></o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.trustStore                       = %{idp.home}/credentials/ldap-server.truststore<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">## Return attributes during authentication<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.returnAttributes                 = passwordExpirationTime<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">## DN resolution properties ##<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Search DN resolution, used by anonSearchAuthenticator, bindSearchAuthenticator<o:p></o:p></p>
<p class="MsoNormal"># for AD: CN=Users,DC=example,DC=org<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.baseDN                           = ou=people,dc=example,dc=org<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.baseDN                            = dc=cas,dc=edu,dc=om<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.subtreeSearch                   = false<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.userFilter                       = (uid={user})<o:p></o:p></p>
<p class="MsoNormal"># bind search configuration<o:p></o:p></p>
<p class="MsoNormal"># for AD: <a href="mailto:idp.authn.LDAP.bindDN=adminuser@domain.com">
idp.authn.LDAP.bindDN=adminuser@domain.com</a><o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.bindDN                           = uid=Myusername,ou=Users<o:p></o:p></p>
<p class="MsoNormal">idp.authn.LDAP.bindDNCredential                 = mypassword<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># Format DN resolution, used by directAuthenticator, adAuthenticator<o:p></o:p></p>
<p class="MsoNormal"># for AD use <a href="mailto:idp.authn.LDAP.dnFormat=%25s@domain.com">
idp.authn.LDAP.dnFormat=%s@domain.com</a><o:p></o:p></p>
<p class="MsoNormal">#idp.authn.LDAP.dnFormat                         = ou=Users,dc=cas,dc=edu,dc=om<o:p></o:p></p>
<p class="MsoNormal"># LDAP attribute configuration, see attribute-resolver.xml<o:p></o:p></p>
<p class="MsoNormal"># Note, this likely won't apply to the use of legacy V2 resolver configurations<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.ldapURL             = %{idp.authn.LDAP.ldapURL}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.connectTimeout      = %{idp.authn.LDAP.connectTimeout:PT3S}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.responseTimeout     = %{idp.authn.LDAP.responseTimeout:PT3S}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.baseDN              = %{idp.authn.LDAP.baseDN:undefined}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.bindDN              = %{idp.authn.LDAP.bindDN:undefined}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.bindDNCredential    = %{idp.authn.LDAP.bindDNCredential:undefined}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.useStartTLS         = %{idp.authn.LDAP.useStartTLS:true}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.trustCertificates   = %{idp.authn.LDAP.trustCertificates:undefined}<o:p></o:p></p>
<p class="MsoNormal">#idp.attribute.resolver.LDAP.searchFilter        = (uid=$resolutionContext.principal)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># LDAP pool configuration, used for both authn and DN resolution<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.minSize                          = 3<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.maxSize                          = 10<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.validateOnCheckout               = false<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.validatePeriodically             = true<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.validatePeriod                   = PT5M<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.prunePeriod                      = PT5M<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.idleTime                         = PT10M<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.blockWaitTime                    = PT3S<o:p></o:p></p>
<p class="MsoNormal">#idp.pool.LDAP.failFastInitialize               = false<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Logs<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2022-07-19 10:46:37,967 - 185.186.207.49 - ERROR [org.springframework.webflow.execution.ActionExecutionException:76] -
<o:p></o:p></p>
<p class="MsoNormal">org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@6b982776 targetAction = [EvaluateAction@3a1bfb02 expression = ValidateUsernamePassword, resultExpression = [null]], attributes =
 map[[empty]]] in state 'ValidateUsernamePassword' of flow 'authn/Password' -- action execution attributes were 'map[[empty]]'<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:62)<o:p></o:p></p>
<p class="MsoNormal">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]<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.binding.expression.spel.SpringELExpression.getValue(SpringELExpression.java:94)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1021E: 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 'bindSearchAuthenticator' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchDnResolver' while setting constructor argument; nested exception is
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchDnResolver' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchPooledConnectionFactory'
 while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchPooledConnectionFactory' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]:
 Cannot resolve reference to bean 'bindSearchConnectionPool' while setting bean property 'connectionPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchConnectionPool' 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
 [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive not expanded?'<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:221)<o:p></o:p></p>
<p class="MsoNormal">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 'bindSearchAuthenticator' defined
 in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchDnResolver' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error
 creating bean with name 'bindSearchDnResolver' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchPooledConnectionFactory' while setting bean property 'connectionFactory'; nested
 exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchPooledConnectionFactory' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean
 'bindSearchConnectionPool' while setting bean property 'connectionPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchConnectionPool' 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 [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot
 be resolved to absolute file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchAuthenticator' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference
 to bean 'bindSearchDnResolver' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchDnResolver' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]:
 Cannot resolve reference to bean 'bindSearchPooledConnectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchPooledConnectionFactory'
 defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchConnectionPool' while setting bean property 'connectionPool'; nested exception is org.springframework.beans.factory.BeanCreationException:
 Error creating bean with name 'bindSearchConnectionPool' 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 [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchDnResolver' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference
 to bean 'bindSearchPooledConnectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchPooledConnectionFactory' defined in file [C:\Program
 Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve reference to bean 'bindSearchConnectionPool' while setting bean property 'connectionPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'bindSearchConnectionPool' 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 [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchPooledConnectionFactory' defined in file [C:\Program Files (x86)\Shibboleth\IdP\conf\authn\ldap-authn-config.xml]: Cannot resolve
 reference to bean 'bindSearchConnectionPool' while setting bean property 'connectionPool'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchConnectionPool' 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 [/C:/Program Files
 (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)<o:p></o:p></p>
<p class="MsoNormal">Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bindSearchConnectionPool' 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 [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute
 file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1619)<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.lang.IllegalArgumentException: java.security.GeneralSecurityException: java.io.FileNotFoundException: ServletContext resource [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute
 file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.ldaptive.provider.jndi.JndiProvider.getJndiStartTLSConnectionFactory(JndiProvider.java:167)<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.security.GeneralSecurityException: java.io.FileNotFoundException: ServletContext resource [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive
 not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at net.shibboleth.idp.authn.impl.X509ResourceCredentialConfig.createSSLContextInitializer(X509ResourceCredentialConfig.java:107)<o:p></o:p></p>
<p class="MsoNormal">Caused by: java.io.FileNotFoundException: ServletContext resource [/C:/Program Files (x86)/Shibboleth/IdP/credentials/ldap-client.crt] cannot be resolved to absolute file path - web application archive not expanded?<o:p></o:p></p>
<p class="MsoNormal">                at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:274)<o:p></o:p></p>
</div>
</body>
</html>