cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.D. Williams" <jdwilli...@austin.rr.com>
Subject Authentication Framework and database
Date Tue, 27 Feb 2007 14:55:15 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message