Re: Using a JDBCRealm for authentication on slide?!

2004-07-19 Thread Stefan Frank
thanks for the help, I'll try that: But let me get this straight: You will end up with two users: - a user that is stored in the jdbc-realm - a slide-user that somehow have to coordinated. Is there a way around that?! I'd like to delegate the whole slide-authentication to the container, leaving

Re: Using a JDBCRealm for authentication on slide?!

2004-07-19 Thread James Mason
Well, if auto-create-users isn't working for you your best bet may be to write a Store implementation that Slide can use to see the users/roles in your JDBCRealm. -James [EMAIL PROTECTED] 07/19/04 2:15 AM thanks for the help, I'll try that: But let me get this straight: You will end up with

Re: Using a JDBCRealm for authentication on slide?!

2004-07-16 Thread Claudio Carvalho
Hi, I did that steps 1. uncomment the security-constraint in %CATALINA_HOME%\webapps\slide\WEB-INF\web.xml. 2. put the auto-create-userstrue/auto-create-users in %CATALINA_HOME%\webapps\slide\domain.xml 3. create a role named root into my JDBC... Now I'm able to authenticate the users using my

Re: Using a JDBCRealm for authentication on slide?!

2004-07-16 Thread James Mason
As far as I know, newly created users are not given membership in any roles. Since by default membership in the 'root' or 'user' roles is required for write access in /files, newly created users won't have that access. If you grant write on /files to 'authenticated', any logged in user should be

Re: Using a JDBCRealm for authentication on slide?!

2004-07-16 Thread Claudio Carvalho
Hi James Do you know how can I add those new users to the roles 'root' or 'user'? I couldn't figure that out... Thanks Claudio. - Original Message - From: James Mason [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 16, 2004 3:51 PM Subject: Re: Using a JDBCRealm for

Re: Using a JDBCRealm for authentication on slide?!

2004-07-16 Thread James Mason
See step 4 in howto-create-users: http://jakarta.apache.org/slide/howto-create-users.html. -James [EMAIL PROTECTED] 7/16/2004 12:03:20 PM Hi James Do you know how can I add those new users to the roles 'root' or 'user'? I couldn't figure that out... Thanks Claudio. - Original Message

Re: Using a JDBCRealm for authentication on slide?!

2004-07-15 Thread Jacob Lund
You have to add the user in slide too! Have a look at the domain.xml file. For testing you could keep the default users defined in the domain.xml and the add a user called root in your jdbc source. /jacob - Original Message - From: Claudio Carvalho [EMAIL PROTECTED] To: Slide Users

RE: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Ritu Kedia
Or else you could set *auto-create-users* to true under Configuration Node in Domain.xml. The user authenticated by your JDBCRealm will be auto-created in Slide if it does not already exist. -Original Message- From: Jacob Lund [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 6:09

RE: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Fallin, Jonathan A.
Just add auto-create-userstrue/auto-create-users inside the configuration tag in Domain.xml -Original Message- From: Claudio Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 9:56 AM To: Slide Users Mailing List Subject: Re: Using a JDBCRealm for authentication on

Re: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Claudio Carvalho
I did that, but I think it doesn't work... do you know how I check if it works? Thanks. - Original Message - From: Fallin, Jonathan A. [EMAIL PROTECTED] To: 'Slide Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:47 AM Subject: RE: Using a JDBCRealm for

Re: Using a JDBCRealm for authentication on slide?!

2004-07-14 Thread Claudio Carvalho
Hi, I couldn't get the auto-create-users working properly, and I just noticed that when I'm not logged I'm able to see the contents of http://localhost:808/slide/files..., but if I'm logged I have this error HTTP Status 403 - Forbidden: Access denied /files/produtos/jcompany/javadoc/index.html