Add authentication error reporting
When using the AuthenticationManager with the ecogrid services there is currently no feedback given to the user when errors occur (bad password, wrong username, service unavailable...etc).
Should use the MessageHandler's alert mechanism so that it can function without a GUI.
Note that when using the AuthenticatedQueryService, there is no requirement that the authentication credential be valid. Therefore an error that occurs during authentication should not prevent the authenticated query from continuing (equivalent to performing a public query).
Also: we may want to consider adjusting the login prompt behavior so that the prompt will reappear after an unsuccessful login attempt. Only after successfully authenticating (or canceling the action) would the prompt not reappear. Currently you are only given one chance to login - there is no re-prompting.
#1 Updated by ben leinfelder over 12 years ago
added login error reporting (using MessageHandler) and also a 3-tries-and-you're-out loop so that there are are additional chances to reenter a password or username if you've fat-fingered those.