Differences between revisions 1 and 2
Revision 1 as of 2005-03-22 05:43:48
Size: 1156
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 2 as of 2009-09-20 23:56:54
Size: 1156
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Back to TomcatSetup

You can use the Default Tomcat Realm to do the Authentication for Slide as follows:

You still need to set the path to Domain.xml explicitely in a slide.properties file. I located mine in Tomcat's .\common\classes and used forward slashes in the path instead of escaped backslashes.

I also put the Domain.xml there instead of .\webapps\slide, however that may not be necessary since we aren't useing SlideRealm.

If you do put Domain.xml someplace else and refer to it in slide.properties, make sure you don't have it also in webapps/slide, some classes apparently look there first as I found it wasn't working until I removed/renamed .\webapps\slide\Domain.xml

Uncommenting the <security-constraint> element in both slide\WEB-INF\web.xml and slide-admin\WEB-INF\web.xml is the same as when using the SlideRealm.

Caveats at least in my trial and error approach. I set the users, roles and groups in Tomcat to mirror those in Domain.xml but I am not sure that is entirely necessary to have all users, roles and groups defined in both places...I did and it works, so it isn't a definitive statement that it is needed.

DefaultTomcatRealm (last edited 2009-09-20 23:56:54 by localhost)