no i d'ont find the tutorial;
my probleme lies in the form of authentification and particulary in “the action” of the form:
<form name="form1" action="j_acegi_security_check" method="GET">
this action must be, normally, intercepted by “authenticationProcessingFilter”:
however at the time of the sending nothing occurs, I would have error 404 rather. I will like to know if exist an additional configuration so that my action is intercepted (confuration in web.xml for example): my web.xml is the following:
it'is the normally configuration, but my authentification d'ont work.
THINKS FOR HELP
Thinks Amin for your interest
my probleme lies in the form of authentification and particulary in “the action” of the form:
<form name="form1" action="j_acegi_security_check" method="GET">
this action must be, normally, intercepted by “authenticationProcessingFilter”:
Code:
<bean id="authenticationProcessingFilter" class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter"> <property name="authenticationManager" ref="authenticationManager"/> <property name="authenticationFailureUrl" value="/index.jsp"/> <property name="defaultTargetUrl" value="/"/> <property name="filterProcessesUrl" value="/j_acegi_security_check"/> <property name="rememberMeServices" ref="rememberMeServices"/> </bean>
Code:
<filter> <filter-name>Acegi Authentication Processing Filter</filter-name> <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class> <init-param> <param-name>targetClass</param-name> <param-value>org.acegisecurity.intercept.web.FilterSecurityInterceptor</param-value> <!--param-value>org.acegisecurity.util.FilterChainProxy</param-value--> </init-param> </filter> <filter-mapping> <filter-name>Acegi Authentication Processing Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener>
THINKS FOR HELP
Thinks Amin for your interest
Comment