arturobernalg commented on PR #473:
URL: https://github.com/apache/tomcat/pull/473#issuecomment-7061812758

   I tried this with Derby. Two problems:
   
     - `validateUserAttributes()` compares names with contains(), which is 
case-sensitive, while `getColumnName()` returns the database's case. With 
Derby, `userAttributes="email,full_name"` returns no attributes and logs "does 
not exist"; 
     "EMAIL,FULL_NAME" works. The realm-howto example has the same problem.
     - `userAttributesStatement` is cached and never reset: after stop(), 
`setUserAttributes(...)` and `start()`, the old attribute list is still used.
    
     There are no tests either.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to