cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot resolve reference to bean 'saml2LogoutResponseFilter

0 Kudos

Hi All, I have just upgraded from 2105 to 2205 and getting the above error. More details about the error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#3' while setting bean property 'sourceList' with key [3]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#3': Cannot resolve reference to bean 'saml2LogoutResponseFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'saml2LogoutResponseFilter' defined in class path resource [customsaml/web/spring/spring-security-config.xml]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.security.web.authentication.logout.LogoutSuccessHandler' available: expected single matching bean but found 2: saml2RelyingPartyInitiatedLogoutSuccessHandler,successLogoutHandler

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#3': Cannot resolve reference to bean 'saml2LogoutResponseFilter' while setting constructor argument with key [4]; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'saml2LogoutResponseFilter' defined in class path resource [customsaml/web/spring/spring-security-config.xml]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.security.web.authentication.logout.LogoutSuccessHandler' available: expected single matching bean but found 2: saml2RelyingPartyInitiatedLogoutSuccessHandler,successLogoutHandler

Any assistance would be appreciated

Accepted Solutions (0)

Answers (0)