posted 17 years ago
Hi all, I have written a custom Authenticator class. In that class I want to know if a user with a specific id exists. I do this by calling UserDAO.selectById which is implemented in GenericUserDAO.selectById. However, this method always returns a user object even if no such user exists. The "problem" is this block:
I the GenericUserDAO.selectByName method, the behaviour is different:
Is this how it's supposed to be?
[originally posted on jforum.net by reikje]