|
I've
just been through this :) Authentication happens in the container (eg in Tomcat)
and it has to have the right role. So... first you uncomment the
security-constraint section in web.xml (remove the !-- and
the -- at the end of the file), then you go to your tomcat config
directory and edit tomcat-users.xml. There, add two extra
lines:
<user name="guest" password="myguespasswordt" roles="tomcat,guest" /> <user name="root" password="myrootpassword" roles="tomcat,root" /> and
you should get prompted for a login after restarting tomcat. You should be able
to authenticate with the accounts above. For other servlet containers, you'll
need to do the equivalent.
Peter
|
- Authentication! Miguel Carvalho
- Re: Authentication! Peter Hawkins
- Re: Authentication! Miguel Carvalho
- RE: Authentication! Peter Hawkins
- Re: Authentication! Remy Maucherat
- Re: Authentication! Laurie Harper
- Re: Authentication! Ian Kallen <[EMAIL PROTECTED]>
- Re: Authentication! Remy Maucherat
- Re: Authentication! Laurie Harper
- Re: Authentication! Remy Maucherat
- Re: Authentication! Miguel Carvalho
- Re: Authentication! Laurie Harper
