11-09-2007 06:19 PM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– The authentication component. –>
<!– Jass authentication - most of the config goes somewhere else –>
<!–bean id="authenticationComponent"
class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent">
<property name="realm">
<value>OUR.COMPANY.COM</value>
</property>
<property name="jaasConfigEntryName">
<value>Alfresco</value>
</property>
</bean–>
<!– DAO that rejects changes - JAAS is read only at the moment. –>
<!– It does allow users to be deleted with out warnings from the UI. –>
<!– The user is still present in JAAS, only the personal information is removed from alfresco. –>
<!– Replaced old sample code with code from http://forums.alfresco.com/viewtopic.php?t=7132&start=0&postdays=0&postorder=asc&highlight= as noted in bug AR-1564 –>
<bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
<property name="allowDeleteUser">
<value>true</value>
</property>
</bean>
</beans>
<bean id="authenticationComponentImplJAAS" class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent">
<property name="realm">
<value>OUR.COMPANY.COM</value>
</property>
<property name="jaasConfigEntryName">
<value>Alfresco</value>
</property>
</bean>
11-13-2007 05:59 AM
11-15-2007 07:54 PM
11-16-2007 05:51 AM
12-18-2007 11:21 AM
<bean id="authenticationComponentImplJAAS"
class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent">
<property name="realm">
<value>YOURDOMAIN.COM</value>
</property>
<property name="jaasConfigEntryName">
<value>Alfresco</value>
</property>
</bean>
<bean name="authenticationDaoJAAS" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
<property name="allowDeleteUser">
<value>true</value>
</property>
</bean>
<bean id="authenticationDaoAlfresco" class="org.alfresco.repo.security.authentication. RepositoryAuthenticationDao">
…..
<property name="searchService">
<ref bean="searchService"/>
</property>
changed to this: <bean id="authenticationDaoAlfresco" class="org.alfresco.repo.security.authentication. RepositoryAuthenticationDao">
…
<property name="searchService">
<ref bean="admsearchService"/>
</property>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication. ChainingAuthenticationComponentImpl">
<property name="authenticationComponents">
<list>
<ref bean="authenticationComponentImplJAAS"/>
</list>
</property>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication. ChainingAuthenticationComponentImpl">
<property name="authenticationComponent">
<list>
<ref bean="authenticationComponentImplJAAS"/>
</list>
</property>
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.