I added

  <map:action name="auth-login"
  src="org.apache.cocoon.webapps.authentication.acting.LoginAction"/>

to the <map:components> section of my sitemap but I'm still getting the
same 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?

///Peter

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

Reply via email to