As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<bean id="authenticationComponentImpl" class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent"> <property name="realm"> <value>DEFAULT.REALM</value> </property> <property name="jaasConfigEntryName"> <value>Sample</value> </property> </bean>
HiWhich repo version are you using?For 2.0 and after the bean to override is authenticationComponent and not authenticationComponentImpl.…Andy
did you solve your problem?I'm getting the same error:2007-07-02 11:12:37,430 ERROR [org.springframework.web.context.ContextLoader] Context initialization failedorg.springframework.beans.factory.BeanIsNotAFactoryException: Bean named 'authenticationDao' must be of type [org.springframework.beans.factory.FactoryBean], but was actually of type [org.alfresco.repo.security.authentication.RepositoryAuthenticationDao] I installed v. 2.0 under JBoss, and this is my jaas-authentication-context.xml :<?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>INSIEL.IT</value> </property> <property name="jaasConfigEntryName"> <value>Alfresco</value> </property> </bean> <bean id="alfDaoImpl" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="proxyInterfaces"> <value> org.alfresco.repo.security.authentication.MutableAuthenticationDao </value> </property> <property name="transactionManager"> <ref bean="transactionManager" /> </property> <property name="target"> <bean class="org.alfresco.repo.security.authentication.ntlm.NullMutableAuthenticationDao" /> </property> <property name="transactionAttributes"> <props> <prop key="*">${server.transaction.mode.default}</prop> </props> </property> </bean></beans>
<bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" > <property name="allowDeleteUser"> <value>true</value> </property> </bean>
HiThe config example is wrong.See http://issues.alfresco.com/browse/AR-1564 <bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" > <property name="allowDeleteUser"> <value>true</value> </property> </bean> Should sort this out.Andy
15:00:11,732 ERROR [alfresco.smb.protocol] Closing session due to exception org.alfresco.error.AlfrescoRuntimeException: Not implemented at org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao.getMD4HashedPassword(DefaultMutableAuthenticationDao.java:394) at org.alfresco.repo.security.authentication.AuthenticationComponentImpl.getMD4HashedPassword(AuthenticationComponentImpl.java:107) at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.doNTLMv1Logon(EnterpriseCifsAuthenticator.java:1267) at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.doNtlmsspSessionSetup(EnterpriseCifsAuthenticator.java:942) at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.processSessionSetup(EnterpriseCifsAuthenticator.java:637) at org.alfresco.filesys.smb.server.NTProtocolHandler.procSessionSetup(NTProtocolHandler.java:407) at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:221) at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1450) at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1351) at java.lang.Thread.run(Thread.java:595)