My environment is Alfresco 2.0 in a RedHat 3.0 ES with JBoss 4.0.2 and Oracle 10.1.2 DB.
Alfresco works correctly.
Now I'm trying to apply Jaas authentication according to 'Enterprise security and uthenticatiob configuration' Wiki., so I created jaas-authentication-context.xml copying the .sample, them modified java.security and created java.login.config accordingly.
When I launch JBoss , the server log writes:
'…..
2007-06-21 11:40:34,626 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.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]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForSharedInstance(AbstractBeanFactory.java:799)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
…….
Any help appreciated.