mirror of
https://github.com/bmlong137/alfresco-keycloak.git
synced 2025-05-26 21:44:41 +00:00
Avoid infinite recursion due proxy bean inheritance
This commit is contained in:
parent
b926431d68
commit
0fa088f49d
@ -64,7 +64,7 @@
|
|||||||
<value>org.alfresco.repo.web.auth.AuthenticationListener</value>
|
<value>org.alfresco.repo.web.auth.AuthenticationListener</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
<property name="sourceBeanName" value="${moduleId}.authenticationListener" />
|
<property name="sourceBeanName" value="${moduleId}.keycloakAuthenticationListener" />
|
||||||
<property name="defaultTarget">
|
<property name="defaultTarget">
|
||||||
<bean class="org.alfresco.repo.web.auth.NoopAuthenticationListener" />
|
<bean class="org.alfresco.repo.web.auth.NoopAuthenticationListener" />
|
||||||
</property>
|
</property>
|
||||||
|
@ -148,7 +148,7 @@
|
|||||||
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />
|
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />
|
||||||
</bean>
|
</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="authenticationService" ref="AuthenticationService" />
|
||||||
<property name="keycloakAuthenticationComponent" ref="authenticationComponent" />
|
<property name="keycloakAuthenticationComponent" ref="authenticationComponent" />
|
||||||
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />
|
<property name="keycloakTicketTokenCache" ref="${moduleId}-ticketTokenCache" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user