You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Flynn <pe...@silmaril.ie> on 2006/04/01 01:57:42 UTC
Re: "auth-login" not defined for "act"
Andrew Stevens wrote:
> Do you have a corresponding
> <map:action name="auth-login"
> src="org.apache.cocoon.webapps.authentication.acting.LoginAction"/>
> definition in the <map:components> section of your sitemap?
I didn't but I do now...but the result is unchanged: the same error.
Where else should I be looking?
///Peter
>> From: "peter" <pe...@silmaril.ie>
>> Date: Tue, 28 Mar 2006 08:28:17 +0000
>>
>> I'm getting the following error:
>>
>> > Internal Server Error
>> >
>> > Message: Type 'auth-login' is not defined for 'act' at
>> > file:/home/peter/tomcat/webapps/ROOT/sitemap.xmap:554:29
>>
>> where the relevant lines say:
>>
>> 553: <map:match pattern="authtest">
>> 554: <map:act type="auth-login">
>> 555: <map:parameter name="handler" value="epuauth"/>
>> 556: <map:parameter name="parameter_username"
>> 557: value="{request-param:username}"/>
>> 558: <map:parameter name="parameter_password"
>> 559: value="{request-param:password}"/>
>> 560: <map:redirect-to uri="doc/webmaster"/>
>> 561: </map:act>
>> 562: <map:generate src="welcome.xml"/>
>> 563: <map:transform src="webpages.xsl"/>
>> 564: <map:serialize type="xhtml"/>
>> 566: </map:match>
>>
>> Why isn't the token "auth-login" being recognised?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org