Hello,
I am using auth framework successfully, but recently I am having trouble
with wildcard pattern matchers and auth-protect action.
My pipeline matcher is as follows:
<map:match pattern="*.xml">
<map:act type="auth-protect">
<map:parameter name="handler" value="LoginHandler"/>
<map:read mime-type="text/html" src="submissions/{1}.xml"/>
<map:serialize type="text"/>
</map:act>
<map:redirect-to uri="login"/>
</map:match>
However, the src received by map:read (the parameter {1}) is empty. If I
remove authentication altogether, things work fine.
ie
<map:match pattern="*.xml">
<map:read mime-type="text/html" src="submissions/{1}.xml"/>
<map:serialize type="text"/>
</map:match>
Then the parameter {1} resolves correctly.
Any Ideas appreciated.
Kind regards,
Bhaskar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
|