I downloaded cocoon-2.1m2 and made the default build, I could not make the DatabaseAuthenticator work. When I debugged my application, I found that the sql looked like this: Select dbcol1dbcol2 from tablename ... There is no serration between the columns
Here is the diff file for the fix, I hope you can use it :-)
224c224,225 < queryBuffer.append(dbcol); --- > //Insert a "," if it's not the last dbcol > queryBuffer.append(dbcol+((i<columns.length-1)?",":""));