> Hi, > > I am writing a webapp that have to use slide for authentication. > > I was thinking that in slide customized version of tomcat,tomcat > authentication was simply replaced by slide one and that specifying a > <security-constraint> and <login-config> in a webapp descriptor file > would be enougth to authenticate througth slide. > But apparently I was wrong and was getting 401. > > The slide admin webapp has the same requirements that mine. > So I tried to see what was done for authentication with it and the only > special thing I saw was in server.xml : for the admin service, the > default virtual host (<host>) was using a special implementation > (wrappers.catalina.AdminHost) that seems to associate slideRealm to the > context. > > So what should I do to be able to use slide for authentication ? > > Do I have to create another service running for example on port 8083 and > write for it my own default virtual host to perform slideReal-context > association like wrappers.catalina.AdminHost seems to do ? > > Any help would be appreciated.
In the integrated version, the realm is dynaamically accociated to the Context by either the Host implementation (in the 1.0.x versions), or by a host listener. You can associate the realm manually in server.xml: <Realm className="wrappers.catalina.SlideRealm" namespace="foo" /> (with "foo" being the name of the namespace to connect to) Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>