08-03-2007 12:58 AM
08-03-2007 05:18 AM
Hello All,
How can I use the users from my Application DB to authenticate in Alfresco. Other than SOS using NTLM.
For Implementing JDBC Authentication I have added the following to
"authentication-services-context.xml" file but still for authentication the alfresco table is using.
What I am misssing? Can Any on look on this…
*******************************
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName"><value>com.mysql.jdbc.Driver</value></property>
<property name="url"><value>jdbc:mysql://localhost:3307/alfresco</value></property>
<property name="username"><value>alfresco</value></property>
<property name="password"><value>alfresco</value></property>
</bean>
<bean id="jdbcDaoImpl" class="net.sf.acegisecurity.providers.dao.jdbc.JdbcDaoImpl">
<property name="dataSource" ref="dataSource"/>
<property name="usersByUsernameQuery">
<value>SELECT user_passwd from his_user where active_yesno=1 AND user_login=?</value>
</property>
<property name="authoritiesByUsernameQuery">
<value>SELECT DISTINCT 'hisuser','Roles' FROM his_user WHERE user_login=?</value>
</property>
<!– <property name="passwordEncoder" ref="passwordEncoder"/> –>
</bean>
******************************
regards,
–Hani
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.