<div dir="ltr"><div dir="ltr">Sorry, this case has resolved itself, it was due to the duplication of log4j settings in the proprietary module and in the Shibboleth IdP.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 19, 2023 at 5:49 PM Noriyuki TAKEI <<a href="mailto:ntakei@sios.com">ntakei@sios.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">The following error was also encountered<br><br><br>UnsatisfiedDependencyException: Error creating bean with name 'shibboleth. defined in class path resource [net/shibboleth/idp/conf/authn-system.xml]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'net.shibboleth.idp.authn.principal.GenericPrincipalService#3' defined in class path resource [net/shibboleth/ idp/conf/authn-system.xml]: Cannot create inner bean 'net.shibboleth.idp.saml.authn.principal.impl.NameIDPrincipalSerializer#3157e4c0' of type [net.shibboleth.idp.saml.authn.principal.impl.NameIDPrincipalSerializer] while setting constructor argument<br><br><br><br>BeanCreationException: Error creating bean with name 'net.shibboleth.idp.authn.principal. GenericPrincipalService#3' defined in class path resource [net/shibboleth/idp/conf/authn-system.xml]: Cannot create inner bean 'net. NameIDPrincipalSerializer#3157e4c0' of type [net.shibboleth.idp.saml.authn.principal.impl. NameIDPrincipalSerializer] while setting constructor argument<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 19, 2023 at 5:44 PM Noriyuki TAKEI <<a href="mailto:ntakei@sios.com" target="_blank">ntakei@sios.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">To use External Authentication in Shibboleth idp 5.0.0, we have configured the following<br><br>idp.authn.flows = External<br><br>#### External ####<br><br>#idp.authn.External.order = 1000<br>#idp.authn.External.nonBrowserSupported = false<br>#idp.authn.External.matchExpression = false<br># Unset if you plan to return full Java Subject from external source<br>#External.addDefaultPrincipals = true<br># Servlet context-relative path to wherever your implementation lives<br>#External.external.externalAuthnPath = contextRelative:external.jsp<br>idp.authn.External.external.externalAuthnPath = contextRelative:Authn/Sam<br><br>However, I got the following error<br><br>2023-10-19 08:39:45.984:WARN :oejw.WebAppContext:main:. Failed startup of context o.e.j.w.WebAppContext@b2c9a9c{Shibboleth Identity Provider,/idp,[file:///opt/jetty-base/tmp/jetty-127_0_0_1-80-idp_war-_idp-any-15991808546894065198/webinf/, jar:file:///opt/shibboleth-idp/war/idp. war!/],UNAVAILABLE}{/opt/shibboleth-idp/war/idp.war}<br>BeanCreationException:. Error creating bean with name 'shibboleth.AuthenticationFlow$child#0' defined in class path resource [net/shibboleth/idp/conf/authn-system.xml]:. Cannot resolve reference to bean 'shibboleth.PrincipalServiceManager' while setting bean property 'principalServiceManager'<br><br>Is there any way to resolve this?<br></div>
</blockquote></div><br clear="all"><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div></div>