I have a simple web app on WAS 4.0.5 which is set up to use Basic Login. I have listed the main controller
servlet (not the main index.html page) as a protected resource by defining a security constraint, in which the resource is accessible to AllAuthenticatedUsers. I have also enabled security in the Security Center.
However, when I try accessing the app, I do not get the basic login dialog box. Instead access goes straight to the controller servlet, which attempts to call getUserPrincipal and this of course fails, since authentication was not carried out.
I have tried all manner of URL
pattern names:
[CODE}
/*
servlet/Controller
/servlet/Controller
/App/Controller
/Controller
Controller
[/CODE]
but to no avail.
Anyone have an idea what the problem is?
thanks