You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by David Turley <sy...@synath.com> on 2005/09/01 22:04:45 UTC
FormAuthentication
Hi, it's me again...
I'm trying to get the FormAuthentication to work. I'm having
problems though. (Of course I'm having problems! Why else would I be
writing!) When I try to run my test, my test fails and tells me it
couldn't connect to the secured redirector. The console says "[Access
Denied] NULL user".
I haven't had any luck getting this to work. I'm using
StrutsTestCase, so I asked for help in their user forum, but that forum
is all but dead and I haven't gotten a response. I searched for any
threads in there about authentication and all I found was another guy
with a similar problem that hadn't had his question answered either...
Thanks for any help you can provide.
--David Turley
Re: FormAuthentication
Posted by David Turley <sy...@synath.com>.
Thanks for the suggestion, but it ended up being my fault again. I
think I'll wait a little tiny bit longer before asking for help next
time. I always seem to figure it out shortly after I ask for help. I
just need to pretend like I asked for help and then maybe the answer
will come to me. :-)
--David
Nicolas Chalumeau wrote:
>Do you use the ant task or the maven plugin ?
>
>For the ant task add in your catifywar :
><servletredirector name="ServletRedirectorSecure"
> mapping="/ServletRedirectorSecure"
> roles="RoleBase"/>
>
>For the maven plugin I provide a patch but it is the same thing to do
>: http://issues.apache.org/jira/browse/CACTUS-224
>
>Nicolas,
>
>2005/9/1, David Turley <sy...@synath.com>:
>
>
>>Hi, it's me again...
>>
>> I'm trying to get the FormAuthentication to work. I'm having
>>problems though. (Of course I'm having problems! Why else would I be
>>writing!) When I try to run my test, my test fails and tells me it
>>couldn't connect to the secured redirector. The console says "[Access
>>Denied] NULL user".
>>
>> I haven't had any luck getting this to work. I'm using
>>StrutsTestCase, so I asked for help in their user forum, but that forum
>>is all but dead and I haven't gotten a response. I searched for any
>>threads in there about authentication and all I found was another guy
>>with a similar problem that hadn't had his question answered either...
>>
>> Thanks for any help you can provide.
>>
>>--David Turley
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
Re: FormAuthentication
Posted by Nicolas Chalumeau <ni...@gmail.com>.
Do you use the ant task or the maven plugin ?
For the ant task add in your catifywar :
<servletredirector name="ServletRedirectorSecure"
mapping="/ServletRedirectorSecure"
roles="RoleBase"/>
For the maven plugin I provide a patch but it is the same thing to do
: http://issues.apache.org/jira/browse/CACTUS-224
Nicolas,
2005/9/1, David Turley <sy...@synath.com>:
> Hi, it's me again...
>
> I'm trying to get the FormAuthentication to work. I'm having
> problems though. (Of course I'm having problems! Why else would I be
> writing!) When I try to run my test, my test fails and tells me it
> couldn't connect to the secured redirector. The console says "[Access
> Denied] NULL user".
>
> I haven't had any luck getting this to work. I'm using
> StrutsTestCase, so I asked for help in their user forum, but that forum
> is all but dead and I haven't gotten a response. I searched for any
> threads in there about authentication and all I found was another guy
> with a similar problem that hadn't had his question answered either...
>
> Thanks for any help you can provide.
>
> --David Turley
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>