cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get Alfresco to work with JAAS? (sample fails)

stk137
Champ in-the-making
Champ in-the-making
How do you get Alfresco to use JAAS?

If I use the sample for jaas-authentication-context.xml

It throws an error

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]

Is there an example of something that works for JAAS?
3 REPLIES 3

peltuinum
Champ in-the-making
Champ in-the-making
I have  the same error on a JBoss platform; I think that only someone that knows the internals of the product can solve this: isn't there anybody at Alfresco who can help us?

stk137
Champ in-the-making
Champ in-the-making
see
http://forums.alfresco.com/viewtopic.php?t=7132&highlight=

the upshot is that I got it working with a 2.1 nightly build and it's sample

andy
Champ on-the-rise
Champ on-the-rise
Hi

The 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