I have been using the DatabaseAuthenticatorAction, but now need to
switch to the Authentication Framework, using a database as the
authentication resource.

In my authentication resource, the following works:

<sql:execute-query xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
   <sql:query>select name from user where name = 'example'</sql:query>
</sql:execute-query>

but this does not:

<sql:execute-query xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
<sql:query>
  select name from user where name = '<sql:substitute-value
name="${request:param:username}"/>'
</sql:query>
</sql:execute-query>

I can also hard-code the username by appending '?username=example' to
the url. The login page works, so why is the username parameter not
being passed properly?


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

Reply via email to