AnsweredAssumed Answered

using custom authenticationmanager/processingfilter

Question asked by timv on Aug 16, 2006
Latest reply on Nov 20, 2006 by andy
Hi,

I am trying to implement SSO with Sun Access Manager. I wrote a custom processFilter which checks for a valid Access Manager cookie. I also added my custom authentication manager to the list of the providermanager.

I added the following to authentication-service-context.html:
   <bean id="amProcessingFilter" class="be.acait.cms.alfresco.auth.ui.am.AMProcessingFilter">
        <property name="authenticationManager"><ref bean="authenticationManager"/></property>
   </bean>

    <bean id="AMAuthenticationProvider" class="be.acait.cms.alfresco.auth.provider.am.AMAuthenticationProvider" />


    <bean id="authenticationManager" class="net.sf.acegisecurity.providers.ProviderManager">
        <property name="providers">
            <list>
                <ref bean="AMAuthenticationProvider" />
                <ref bean="authenticatedAuthenticationPassthroughProvider" />
                <ref bean="daoAuthenticationProvider" />
            </list>
        </property>
    </bean>



But now, how do I know Alfresco picks it up? I tried remote debugging in my code, but it seems that my code doesn't run.

Oh yes, I'm using 1.3 community edition..

Greets,
timv

Outcomes