You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2006/11/14 17:42:38 UTC
[jira] Closed: (GERONIMO-421) Better handling for null/empty users
in default LoginModules
[ http://issues.apache.org/jira/browse/GERONIMO-421?page=all ]
Vamsavardhana Reddy closed GERONIMO-421.
----------------------------------------
> Better handling for null/empty users in default LoginModules
> ------------------------------------------------------------
>
> Key: GERONIMO-421
> URL: http://issues.apache.org/jira/browse/GERONIMO-421
> Project: Geronimo
> Issue Type: Bug
> Components: security
> Affects Versions: 1.0-M2
> Reporter: Aaron Mulder
> Assigned To: Aaron Mulder
> Fix For: 1.0-M4
>
>
> The PropertiesFileLoginModule throws an assertion error if no username is provided. I think this should just return false (or worst case, throw a regular LoginException) instead. I expect it to be unusual that the username would be null, but if so, it's just a plain failed login, right?
> The SQLLoginModule doesn't seem to check at all, and would throw a NullPointerException if the user was null. Whatever we decide on the other one, we should do it here too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira