mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
75 lines
3.7 KiB
XML
75 lines
3.7 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<!-- ========================================================= -->
|
|
<!-- The configuration of the Authority Service Implementation -->
|
|
<!-- ========================================================= -->
|
|
|
|
<!-- -->
|
|
<!-- This implementation supports the identification of users as admin users. -->
|
|
<!-- It also supports groups and allows groups and users to be arranged into -->
|
|
<!-- hierarchies. -->
|
|
<!-- -->
|
|
<beans>
|
|
|
|
<bean id="authorityService" class="org.alfresco.repo.security.authority.AuthorityServiceImpl">
|
|
<property name="authenticationComponent">
|
|
<ref bean="authenticationComponent" />
|
|
</property>
|
|
<property name="personService">
|
|
<ref bean="personService" />
|
|
</property>
|
|
<property name="nodeService">
|
|
<ref bean="nodeService" />
|
|
</property>
|
|
<property name="authorityDAO">
|
|
<ref bean="authorityDAO" />
|
|
</property>
|
|
<property name="permissionServiceSPI">
|
|
<ref bean="permissionServiceImpl" />
|
|
</property>
|
|
<!-- -->
|
|
<!-- A list of users with admin rights. -->
|
|
<!-- -->
|
|
<!-- If the security framework is case sensitive these values should -->
|
|
<!-- be case sensitive user names. If the security framework is not -->
|
|
<!-- case sensitive these values should be the lower-case user names. -->
|
|
<!-- -->
|
|
<!-- By default this includes: -->
|
|
<!-- admin (the user name of default alfresco admin user) -->
|
|
<!-- administrator (the windows default admin user) -->
|
|
<!-- -->
|
|
<!-- This assumes that user names are not case sensitive. -->
|
|
<!-- -->
|
|
<property name="adminUsers">
|
|
<set>
|
|
<value>admin</value>
|
|
<value>administrator</value>
|
|
</set>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- Authority DAO that stores group information along with user information, -->
|
|
<!-- in the repository. -->
|
|
<!-- -->
|
|
<!-- This bean uses the userToAuthorityCache configured in cache-context.xml -->
|
|
<!-- -->
|
|
<bean id="authorityDAO" class="org.alfresco.repo.security.authority.AuthorityDAOImpl">
|
|
<property name="nodeService">
|
|
<ref bean="nodeService" />
|
|
</property>
|
|
<property name="namespacePrefixResolver">
|
|
<ref bean="namespaceService" />
|
|
</property>
|
|
<property name="searchService">
|
|
<ref bean="searchService" />
|
|
</property>
|
|
<property name="dictionaryService">
|
|
<ref bean="dictionaryService" />
|
|
</property>
|
|
<property name="userToAuthorityCache">
|
|
<ref bean="userToAuthorityCache" />
|
|
</property>
|
|
</bean>
|
|
|
|
</beans> |