> -----Original Message-----
> From: Ivan Drinks Sr. [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, April 05, 2003 2:44 PM
> To: 'Slide Users Mailing List'
> Subject: RE: Slide on JBoss (was Listing Revisions)
> 
> 
> James,
> 
> On step 6, why do you copy jboss-web.xml to slide.war/WEB-INF?  

I do this to tell jboss what the JNDI path is to the realm I want Slide
to use. I deploy the Slide webdav interface to /slide and my own UI
under /controlpanel (which talks to the same slide kernel). My
domain.xml is set to default settings, so I won't paste it here. 

My jboss-web.xml is:

<jboss-web>
      <security-domain>java:/jaas/SlideRealm</security-domain>
</jboss-web>


My web.xml uncomments the security restraints at the end and looks like
(at the bottom):

    <!-- Authetication for the WebDAV servlet -->
    <!-- Uncomment this to get authentication -->
    <security-constraint>
        <web-resource-collection>
            <web-resource-name>Calvary resource</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>root</role-name>
            <role-name>guest</role-name>
            <role-name>user</role-name>
        </auth-constraint>
    </security-constraint>
    <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>SlideRealm</realm-name>
    </login-config>


James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to