07-19-2016 12:20 PM
07-19-2016 04:31 PM
07-20-2016 12:43 AM
08-19-2016 11:21 AM
<!–<property name="homeFolderManager" ref="HomeFolderManager" />–>
<property name="homeFolderManager" ref="CustomHomeFolderManager" />
<property name="templatePath">
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}/cm:UserHomeTemplate</value>
</property>
<bean id="personService" class="org.alfresco.repo.security.person.PersonServiceImpl" init-method="init">
<property name="transactionService" ref="transactionService" />
<property name="nodeService" ref="nodeService" />
<property name="tenantService" ref="tenantService"/>
<property name="singletonCache" ref="immutableSingletonCache"/>
<property name="searchService" ref="admSearchService" />
<property name="permissionServiceSPI" ref="permissionServiceImpl" />
<property name="authorityService" ref="authorityService" />
<property name="authenticationService" ref="authenticationService" />
<property name="dictionaryService" ref="dictionaryService" />
<property name="namespacePrefixResolver" ref="namespaceService" />
<property name="policyComponent" ref="policyComponent"/>
<property name="personCache" ref="personCache" />
<property name="permissionsManager" ref="personServicePermissionsManager" />
<property name="cannedQueryRegistry" ref="personServiceCannedQueryRegistry" />
<property name="aclDAO" ref="aclDAO" />
<!–<property name="homeFolderManager" ref="HomeFolderManager" />–>
<property name="homeFolderManager" ref="CustomHomeFolderManager" />
<property name="repoAdminService" ref="repoAdminService" />
<property name="serviceRegistry" ref="ServiceRegistry"/>
<property name="eventPublisher" ref="eventPublisher" />
<!– Configurable properties. –>
<property name="homeFolderCreationEager" value= "${home.folder.creation.eager}" />
<property name="homeFolderCreationDisabled" value= "${home.folder.creation.disabled}" />
<!– –>
<!– TODO: –>
<!– Add support for creating real home spaces adn setting –>
<!– permissions on the hame space and people created. –>
<!– –>
<!– The store in which people are persisted. –>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
<!– Some authentication mechanisms may need to create people –>
<!– in the repository on demand. This enables that feature. –>
<!– If dsiabled an error will be generated for missing –>
<!– people. If enabled then a person will be created and –>
<!– persisted. –>
<!– Valid values are –>
<!– ${server.transaction.allow-writes} –>
<!– false –>
<property name="createMissingPeople">
<value>${create.missing.people}</value>
</property>
<property name="userNameMatcher">
<ref bean="userNameMatcher" />
</property>
<!– New properties after 1.4.0 to deal with duplicate user ids when found –>
<property name="processDuplicates">
<value>true</value>
</property>
<!– one of: LEAVE, SPLIT, DELETE –>
<property name="duplicateMode">
<value>SPLIT</value>
</property>
<property name="lastIsBest">
<value>true</value>
</property>
<property name="includeAutoCreated">
<value>false</value>
</property>
</bean>
<bean id="CustomHomeFolderManager" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<list>
<value>org.alfresco.repo.security.person.HomeFolderManager</value>
</list>
</property>
<!– Lazy init to avoid circular dependencies –>
<property name="targetSource">
<bean class="org.springframework.aop.target.LazyInitTargetSource">
<property name="targetBeanName">
<idref bean="homeFolderManager" />
</property>
</bean>
</property>
</bean>
<bean name="homeFolderManager"
class="org.alfresco.repo.security.person.PortableHomeFolderManager">
<property name="nodeService">
<ref bean="NodeService" />
</property>
<property name="defaultProvider">
<ref bean="userHomesHomeFolderProvider" />
</property>
<property name="fileFolderService">
<ref bean="FileFolderService" />
</property>
<property name="searchService">
<ref bean="SearchService" />
</property>
<property name="NamespaceService">
<ref bean="NamespaceService" />
</property>
<property name="singletonCache">
<ref bean="immutableSingletonCache" />
</property>
</bean>
<bean name="userHomesHomeFolderProvider" parent="usernameHomeFolderProvider">
<property name="rootPath">
<value>/${spaces.company_home.childname}/${spaces.user_homes.childname}</value>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
<property name="templatePath">
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}/cm:UserHomeTemplate</value>
</property>
</bean>
08-22-2016 01:09 AM
08-23-2016 03:50 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.