mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix authentication context samples to use authenticationComponentBase
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -147,8 +147,17 @@
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl">
|
||||
|
||||
<!-- Parent bean for beans derived from AbstractAuthenticationComponent -->
|
||||
<bean id="authenticationComponentBase" abstract="true">
|
||||
<property name="tenantService">
|
||||
<ref bean="tenantService"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl"
|
||||
parent="authenticationComponentBase">
|
||||
<property name="authenticationDao">
|
||||
<ref bean="authenticationDao" />
|
||||
</property>
|
||||
@@ -157,9 +166,6 @@
|
||||
</property>
|
||||
<property name="allowGuestLogin">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="tenantService">
|
||||
<ref bean="tenantService"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
@@ -169,7 +175,9 @@
|
||||
<!-- It should never go to the login screen so this is not required -->
|
||||
|
||||
<!--
|
||||
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl">
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl"
|
||||
parent="authenticationComponentBase">
|
||||
<property name="accept">
|
||||
<value>true</value>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user