We have configured the ticket auth stack in a SAP NetWeaver JAVA Instance so that SPNEGO auth is used first and if this fails, then BasicPasswordLoginModule is used afterwards. This allows domain users to get SSO experience, and users who are not logged onto a domain to get a browser form based login screen instead where they can enter a valid userid and password into browser.
The problem we have is that when the fallback to the BasicPasswordLoginModule occurs the first message shown is "User authentication failed" which is confusing for most users. We assume that this message is shown because the previous authetnication attempt (using SPNEGO) failed. So, is there a way to stop this message appearing on first login attempt,but still make it appear if the user enters something wrong into login form such as wrong password ?
Thanks,
Tim