Jakarta Slide
- download slide
- copy the slide.war to $jetty.home/webapps
- create a new jetty config file or edit an existing one to add this JAASUserRealm definition:
Code Block xml <Set name="UserRealms"> <Array type="org.mortbay.jetty.security.UserRealm"> ... <Item> <New class="org.mortbay.jetty.plus.jaas.JAASUserRealm"> <Set name="Name">Slide DAV Server</Set> <Set name="LoginModuleName">slide_login</Set> <Set name="roleClassNames"> <Array type="java.lang.String"> <Item>org.apache.slide.jaas.spi.SlideRole</Item> </Array> </Set> </New> </Item> </Array> </Set> - copy the jaas.config file to $jetty.home/etc, or append it's contents to an existing login module configuration file
- start jetty and supply the jetty configuration file you edited on the command line
Code Block java -Djava.security.auth.login.config=etc/jaas.config -jar start.jar [name of your jetty config file]