Avoid infinite recursion due proxy bean inheritance

This commit is contained in:
AFaust 2020-02-17 23:56:33 +01:00
parent b926431d68
commit 0fa088f49d
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
<value>org.alfresco.repo.web.auth.AuthenticationListener</value>
</list>
</property>
<property name="sourceBeanName" value="${moduleId}.authenticationListener" />
<property name="sourceBeanName" value="${moduleId}.keycloakAuthenticationListener" />
<property name="defaultTarget">
<bean class="org.alfresco.repo.web.auth.NoopAuthenticationListener" />
</property>

View File

@ -148,7 +148,7 @@
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />
</bean>
<bean id="${moduleId}.authenticationListener" class="${project.artifactId}.authentication.KeycloakAuthenticationListener">
<bean id="${moduleId}.keycloakAuthenticationListener" class="${project.artifactId}.authentication.KeycloakAuthenticationListener">
<property name="authenticationService" ref="AuthenticationService" />
<property name="keycloakAuthenticationComponent" ref="authenticationComponent" />
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />