I had the attached entries in my acegi configuration and I also had the
following Tapestry pages
Login, Start, AccessDenied

Moving to T5 I removed the html extensions from acegi config and everything
works fine except the accessDenniedHandler

I am getting a 404 error when acegi forwards me to context/AccessDenied
However, typing context/AccessDenied in the URL and pressing enter works
fine. 

I initially thought that was an Acegi problem but now I am almost certain is
a T5 problem.

Any ideas?

Petros

    <bean id="authenticationProcessingFilter"
class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
        <property name="authenticationManager" ref="authenticationManager"/>
        <property name="authenticationFailureUrl"
value="/Login.html?error=true"/>
        <property name="defaultTargetUrl" value="/Start.html"/>
        <property name="filterProcessesUrl" value="/j_security_check"/>
        <property name="rememberMeServices" ref="rememberMeServices"/>
    </bean>

    <bean id="exceptionTranslationFilter"
class="org.acegisecurity.ui.ExceptionTranslationFilter">
        <property name="authenticationEntryPoint">
                        <ref local="authenticationProcessingFilterEntryPoint"/>
        </property>          
            <property name="accessDeniedHandler">
                        <bean 
class="org.acegisecurity.ui.AccessDeniedHandlerImpl">
                                <property name="errorPage" 
value="/AccessDenied.html"/>
                        </bean>
                </property>             
    </bean>

    <bean id="httpSessionContextIntegrationFilter"
class="org.acegisecurity.context.HttpSessionContextIntegrationFilter"/>
    
    <bean id="logoutFilter"
class="org.acegisecurity.ui.logout.LogoutFilter">
                <constructor-arg value="/Start"/> <!-- URL redirected to after 
logout -->
                <constructor-arg>
                        <list>
                                <bean 
class="org.acegisecurity.ui.logout.SecurityContextLogoutHandler"/>
                        </list>
                </constructor-arg>
        <property name="filterProcessesUrl" value="/j_acegi_logout"/>
        </bean>

-- 
View this message in context: 
http://www.nabble.com/Moving-T4-to-T5-broke-Acegi-tf3845975.html#a10891952
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to