Hi Dovan,

maybe [EMAIL PROTECTED]'s mail from 14.08.02 (Subject: Re: 
Authentication when slide.war is deployed under webapps) helps 
for you too. He wrote: 

> Install SlideRealm in Tomcat's server-xml as described at:
> http://jakarta.apache.org/slide/howto-tomcat.html
>
> or enter the users in tomcat-users.xml

So I added <user name="root" password="root" roles="root"/> 
and <user name="john" password="john" roles="user"/> into the 
tomcat-users.xml (%CATALINA_HOME%\conf\tomcat-users.xml). That 
worked for me.

Andreas


> Hi Andreas,
> 
> please forgive me for my lack of knowledge, but i
> tried to use MS Window Explorer to open the sample
> Slide folder and it says:
> 
> 'You might not have permission to view this directory
> or page using the credentials you supplied.'
> 
> If I need to log in as user 'john' and pswd 'john'
> could you please tell me how I do this ?
> 
> Thanks,
> Dovan
> 
> --- Andreas Probst <[EMAIL PROTECTED]> wrote:
> > Hi Dovan,
> > 
> > I don't know about Weblogic, but I suppose the info
> > applies, as the ACL 
> > stuff is implemented in Slide and the Domain.xml and
> > web.xml are used to 
> > setup Slide.
> > 
> > Andreas
> > 
> > > Hello Andreas,
> > > 
> > > these are great help.  Thank you.
> > > 
> > > But I forgot to mention that I deployed Slide on
> > > Weblogic 7.0.  Does your info below still applies
> > ?
> > > 
> > > Please let me know.
> > > 
> > > Thanks,
> > > Dovan
> > > 
> > > --- Andreas Probst <[EMAIL PROTECTED]> wrote:
> > > > Hi Dovan,
> > > > 
> > > > Slide can do authentication with users, who
> > belong
> > > > to groups. 
> > > > There are two default users defined in 
> > > > %slide_home%\server\conf\slide\slide.data. 
> > > > Nodes in the Slide tree can have access control
> > > > lists (ACL) 
> > > > for users and groups attached.
> > > > 
> > > > If you deploy Slide as a webapp the two default
> > > > users are 
> > > > defined in webapps/slide/domain.xml. In this
> > > > configuration you 
> > > > enable authentication in
> > > > %tomcathome%\webapps\slide\WEB-
> > > > INF\web.xml. Last part says 
> > > > 
> > > >   <!-- Authetication for the WebDAV servlet -->
> > > >   <!-- Uncomment this to get authentication -->
> > > > 
> > > > When you uncomment the following
> > > > <security-constraint> and 
> > > > restart Tomcat, I think Slide authentication
> > should
> > > > work with 
> > > > users root (pass: root) and john (pass: john),
> > which
> > > > are 
> > > > defined in the <data> part of the 
> > > > %tomcathome%\webapps\slide\Domain.xml. (I
> > haven't
> > > > found the 
> > > > file where the <security-constraint> is defined
> > > > using the 
> > > > preconfigured Slide-Tomcat combination, ie. the
> > > > web.xml in 
> > > > this case. But authentication there is enabled
> > for
> > > > port 8081.)
> > > > 
> > > > And there starts my problem: Slide won't let me
> > in.
> > > > See my 
> > > > other question from today...
> > > > 
> > > > 
> > > > Andreas
> > > > 
> > > > 
> > > > > Hello,
> > > > > 
> > > > > I am new to Slide.  I'd like to know how to
> > setup
> > > > > authentication at group and user level to
> > access
> > > > > certain directory and files.  Could you please
> > > > tell me
> > > > > whether Slide can do this and how?
> > > > > 
> > > > > Thank you,
> > > > > Dovan
> > > > > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 



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

Reply via email to