Error when configuring External Authentication

Noriyuki TAKEI ntakei at sios.com
Thu Oct 19 08:49:59 UTC 2023


The following error was also encountered


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



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

On Thu, Oct 19, 2023 at 5:44 PM Noriyuki TAKEI <ntakei at sios.com> wrote:

> To use External Authentication in Shibboleth idp 5.0.0, we have configured
> the following
>
> idp.authn.flows = External
>
> #### External ####
>
> #idp.authn.External.order = 1000
> #idp.authn.External.nonBrowserSupported = false
> #idp.authn.External.matchExpression = false
> # Unset if you plan to return full Java Subject from external source
> #External.addDefaultPrincipals = true
> # Servlet context-relative path to wherever your implementation lives
> #External.external.externalAuthnPath = contextRelative:external.jsp
> idp.authn.External.external.externalAuthnPath = contextRelative:Authn/Sam
>
> However, I got the following error
>
> 2023-10-19 08:39:45.984:WARN :oejw.WebAppContext:main:. Failed startup of
> context o.e.j.w.WebAppContext at 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}
> 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'
>
> Is there any way to resolve this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20231019/56b036e6/attachment.htm>


More information about the users mailing list