Hi Mark,

Thanks, I've registered already. So while waiting for the activation email to arrive. I am going to post a few more info. I am using Acegi Security version 0.9.0 Snapshot that I build myself. I am running the Contact Sample and my application in Sun Java System Application Server Platform Edition 8.1 Q2 2005 Release, my JDK is 1.5.0_04, my web framework is Webwork 2.1.7 using Velocity, all of which are running on Slackware 10.1 with Linux kernel version 2.4.X.


Mark St.Godard wrote:

It would probably be more helpful to post this question to the Acegi
Support Forum:

http://forum.springframework.org/viewforum.php?f=11

This way other people that have the same problem will find the answer.

Regardless, what application server or web container are you running?

I dont personally use WebWork, however I'd like to rule out any container issue.

The redirects in the AuthenticationProcessingFilter are plain old
sendRedirects on the http response.

Again, I would post this to the Acegi forum (see link above) and post
some more info (servlet container, version, plus any relevant
logging)..

also it might help to attach the Acegi sourcecode for your version...
and debug / step into the AbstractProcessingFilter to see how the
"response.sendRedirect" are behaving.

Cheers,
Mark

On 8/3/05, Jared Odulio <[EMAIL PROTECTED]> wrote:
Hi,

I am having a problem with redirections when using
j_acegi_security_check. I have followed the Contact sample's
applicationContext-acegi-security.xml AuthenticationProcessingFilter
configuration and this is how it looks like:

 <bean id="authenticationProcessingFilter"
class="net.sf.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
    <property name="authenticationManager"><ref
bean="authenticationManager"/></property>
    <property
name="authenticationFailureUrl"><value>/errorLogin.action</value></property>
    <property
name="defaultTargetUrl"><value>/readUser.action</value></property>
    <property
name="filterProcessesUrl"><value>/j_acegi_security_check</value></property>
    <property name="rememberMeServices"><ref
local="rememberMeServices"/></property>
 </bean>

 <bean id="authenticationProcessingFilterEntryPoint"
class="net.sf.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint">
    <property
name="loginFormUrl"><value>/login.vm</value></property>
    <property name="forceHttps"><value>false</value></property>
 </bean>

I was able to make the Contacts sample run. But when I followed this
sample with my login.vm page, the redirection is behaving
inconsistently. Most of the time, it will not redirect to the
"defaultTargetUrl" if properly authenticated and will not redirect to
the "authenticationFailureUrl" if not authenticated, only a few times it
does right thing and behaves wrongly like executing the
errorLogin.action even if the authentication is correct. Any ideas?

Regards,

Jared

--
http://jaredtech.blogspot.com



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer



--
http://jaredtech.blogspot.com



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to