- labels: --> HTTP Adaptor
- milestone: --> Release 3.0.1
- priority: 5 --> 6
If you try to login with wrong user/password, you get a
broken page:
-------------------------------------------------
MX4J/Http Adaptor
JMX Management Console
MX4J - Exception
Code:
Message:
-------------------------------------------------
The links to the logo and to the css file are broken,
he error code and the message are missing.
In the logfile, you can find:
mx4j.tools.adaptor.http.HttpException: Authentication
failed
at
mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.handleAuthentication(HttpAdaptor.java:926)
at
mx4j.tools.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:967)
Problems:
- The CSS file and logo should be GETable even if the
login fails.
- There should be an error message saying that the
login failed.
- The user is locked into this page. A reload doesn't
ask for the password again but you just get the page
above. It would be better if it a reload would give a
new login dialog.
Note: The same happens if the server is restarted with
a new password and the user tries to reload the page.