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>
|
||||
|
@@ -6,8 +6,9 @@
|
||||
|
||||
<!-- Jass authentication - most of the config goes somewhere else -->
|
||||
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent">
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent"
|
||||
parent="authenticationComponentBase">
|
||||
<property name="realm">
|
||||
<value>DEFAULT.REALM</value>
|
||||
</property>
|
||||
|
@@ -33,7 +33,9 @@
|
||||
|
||||
-->
|
||||
|
||||
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl">
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl"
|
||||
parent="authenticationComponentBase">
|
||||
<property name="LDAPInitialDirContextFactory">
|
||||
<ref bean="ldapInitialDirContextFactory"/>
|
||||
</property>
|
||||
|
@@ -17,7 +17,9 @@
|
||||
<!-- servers comma delimted list of server addresses or -->
|
||||
<!-- names -->
|
||||
|
||||
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl">
|
||||
<bean id="authenticationComponent"
|
||||
class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl"
|
||||
parent="authenticationComponentBase">
|
||||
<property name="useLocalServer">
|
||||
<value>true</value>
|
||||
</property>
|
||||
|
Reference in New Issue
Block a user