Posts tagged ‘authentication’

Netvibes UWA authentication

Been playing with Netvibes UWA and trying to create a little MSG widget, but have been having a little trouble getting the authentication to work for MSG.

I think the problem is down to the fact that the MSG login works via get or post params being passed, rather than “http_basic” authentication username & password – which Netvibes uses. As far as I can tell this means that the username and password aren’t passed with the request as ‘normal’ url or form parameters – so the MSG login script complains that username & password are missing. I’ve not yet found a way of getting the http_basic username & password passed over to the processing servlet.

There are few ways I think of to get around this (though none are ideal)…
1) creating an http_basic secured page in MSG which can handle the authentication – however this means having all the usernames/password replicated into tomcat access files, which I really don’t want to be doing.
2) having the user enter their password entered every time they visit Netvibes – again not really an option as it’s hardly the point of having the widget – it ought to just be a case of entering your MSG credentials once and Netvibes stores these.
3) having the password stored as plain text – again not a good option as too much potential for passwords getting intercepted

Another issue is that Netvibes widgets don’t appear to support https requests, so the password will always be sent plain text to MSG :-(

As I’ve only just started looking at the UWA framework, there may be something I’m missing or doing wrong – so any pointers as to what to do would be very welcome – especially if there are any examples ;-)