Thanks. Finally got it working with your inputs. Andrey Shulinsky <[EMAIL PROTECTED]> wrote:Hi!
Try to add and change to in the tomcat-users.xml It should help. However, I can't be sure about this, sorry, I use SlideRealm in my app. Sincerely yours, Andrey. > -----Original Message----- > From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 09, 2004 12:58 PM > To: [EMAIL PROTECTED] > Subject: RE: Did anybody successfully authentiate with Slide beta 2 > Importance: Low > > Hi, > Thanks for answering. I do have the users defined in > tomcat-users.xml as: > > > > > > > > > > > > > Please see the root user. This is the user that i use to log > in. I am now getting a 403 - Access is forbidden. > > Any ideas? > > I am reproducing the domain.xml below: > > > > > logger-level="6" > default="slide"> > > > > > classname="org.apache.slide.store.impl.rdbms.JDBCStore"> > org.gjt.mm.mysql.Driver > > name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAda pter > jdbc:mysql://localhost:3306/slide1 > > root > > > > false > > > > > > > > > > > > > > > classname="org.apache.slide.store.impl.rdbms.JDBCStore"> > org.gjt.mm.mysql.Driver > > name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAda pter > jdbc:mysql://localhost:3306/slide1 > > root > > > > false > > > > > > > /actions/read > /actions/write > /actions/write > /actions/write-acl > /actions/write-acl > /actions/read-acl > > /actions/read-current-user-privilege-set > > /actions/write > /actions/unlock > /actions/read > > /actions/read > > /actions/write-properties> vision-metadata> > > /actions/write-properties> vision-metadata> > > /actions/write-properties> vision-metadata> > > /actions/read > > /actions/write-content> on-content> > > /actions/write-content> on-content> > > /actions/write-content> on-content> > /actions/bind > /actions/unbind > > /users > /roles > /actions > /files > true > true > path > > 1 means one sublevel, etc. --> > 0 > > > > classname="org.apache.slide.structure.SubjectNode" > uri="/"> > > any user "all" > authenticated user "authenticated" > unauthenticated user "unauthenticated" > self "self" > owner of resource "owner" > a user "/users/john" > a role "/roles/admin" > --> > > inheritable="true"/> > --> > > inheritable="true"/> > > inheritable="true"/> > > inheritable="true"/> > > inheritable="true" negative="true"/> > > inheritable="true" negative="true"/> > > inheritable="true" negative="true"/> > > inheritable="true"/> > > > classname="org.apache.slide.structure.SubjectNode" uri="/users"> > > inheritable="true"/> > > subject="unauthenticated" inheritable="true" negative="true"/>--> > > subject="/users/root" > inheritable="true"/> > > inheritable="true"/> > > > classname="org.apache.slide.structure.SubjectNode" uri="/users/root"> > > > namespace="http://jakarta.apache.org/slide/" > name="password">root > > > > classname="org.apache.slide.structure.SubjectNode" uri="/users/admin"> > > > namespace="http://jakarta.apache.org/slide/" > name="password">admin > > > > authenticated users --> > > classname="org.apache.slide.structure.SubjectNode" uri="/users/john"> > > > namespace="http://jakarta.apache.org/slide/" name="password"/> > > > > classname="org.apache.slide.structure.SubjectNode" uri="/users/john2"> > > > namespace="http://jakarta.apache.org/slide/" name="password"/> > > > > authenticated or unauthenticated guest user --> > > classname="org.apache.slide.structure.SubjectNode" uri="/users/guest"> > > > namespace="http://jakarta.apache.org/slide/" name="password"/> > > > > > > classname="org.apache.slide.structure.SubjectNode" uri="/roles"> > > inheritable="true"/>--> > > inheritable="true"/> > > subject="unauthenticated" > inheritable="true" negative="true"/>--> > > classname="org.apache.slide.structure.SubjectNode" uri="/roles/root"> > > > name="group-member-set">> xmlns:D='DAV:'>/users/root]]> > > > > classname="org.apache.slide.structure.SubjectNode" uri="/roles/user"> > > > name="group-member-set">> xmlns:D='DAV:'>/users/john> xmlns:D='DAV:'>/users/john2> > xmlns:D='DAV:'>/users/root]]> > > > > classname="org.apache.slide.structure.SubjectNode" uri="/roles/guest"> > > > name="group-member-set">> xmlns:D='DAV:'>/users/guest]]> > > > > > > classname="org.apache.slide.structure.ActionNode" uri="/actions"> > > classname="org.apache.slide.structure.ActionNode" uri="/actions/read"> > > > name="privilege-member-set">> xmlns:D='DAV:'>/actions/read-acl > > xmlns:D='DAV:'>/actions/read-current-user-privilege-set> f>]]> > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/read-acl"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/read-current-user-privilege-set"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/write"> > > > name="privilege-member-set">> xmlns:D='DAV:'>/actions/write-acl > > xmlns:D='DAV:'>/actions/write-properties > xmlns:D='DAV:'>/actions/write-content]]> > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/write-acl"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/write-properties"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/write-content"> > > > name="privilege-member-set">> xmlns:D='DAV:'>/actions/bind > > xmlns:D='DAV:'>/actions/unbind]]> > > > > classname="org.apache.slide.structure.ActionNode" uri="/actions/bind"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/unbind"> > > > > > > classname="org.apache.slide.structure.ActionNode" > uri="/actions/unlock"> > > > > > > > classname="org.apache.slide.structure.SubjectNode" uri="/files"> > > inheritable="true"/> > > subject="/roles/user" inheritable="true"/> > > subject="owner" > inheritable="true"/> > > > > classname="org.apache.slide.structure.SubjectNode" uri="/history"> > > inheritable="true"/> > > subject="/roles/user" inheritable="true"/> > > subject="owner" > inheritable="true"/> > > > classname="org.apache.slide.structure.SubjectNode" uri="/workspace"> > > inheritable="true"/> > > subject="/roles/user" inheritable="true"/> > > subject="owner" > inheritable="true"/> > > > classname="org.apache.slide.structure.SubjectNode" > uri="/workingresource"> > > inheritable="true"/> > > subject="/roles/user" inheritable="true"/> > > subject="owner" > inheritable="true"/> > > > > > > DeltaV global parameters > ======================== > * historypath (mandatory=no, default="/history"): > Specifies a Slide path which determines the location > where this DeltaV > server stores history data. > * workspacepath (mandatory=no, default="/workspace"): > Specifies a Slide path which determines the location > where this DeltaV > server allows workspaces to reside. > * workingresourcepath (mandatory=no, default="/workingresource"): > Specifies a Slide path which determines the location > where this DeltaV > server stores working resources. > * auto-version (mandatory=no, default="checkout-checkin"): > Controls the DeltaV auto-version behaviour. > * auto-version-control (mandatory=no, default="false"): > Indicates if a resource just created by a PUT should be set under > version-control. > * versioncontrol-exclude (mandatory=no, default=""): > Specifies a Slide path which determines resources which > are excluded from version-control. > The default value "" makes no path being excluded. > * checkout-fork (mandatory=no, default="forbidden"): > Controls the DeltaV check-out behaviour when a version is already > checked-out or has a successor. > * checkin-fork (mandatory=no, default="forbidden"): > Controls the DeltaV check-out behaviour when a version > has already a > successor. > * standardLivePropertiesClass (mandatory=no, > > default="org.apache.slide.webdav.util.resourcekind.AbstractRes > ourceKind"): > Determines the "agent" knowing about what the standard > live properties are. > It should be a loadable class containing the following > static methods: > - boolean isLiveProperty(String propName) > - boolean isProtectedProperty(String propName) > - boolean isComputedProperty(String propName) > - Set getAllLiveProperties() > - Set getAllProtectedProperties() > - Set getAllComputedProperties() > * uriRedirectorClass (mandatory=no, > default="org.apache.slide.webdav.util.DeltavUriRedirector"): > Determines the URI redirector class. The DeltaV URI > redirector is in > charge of the following redirections: > - version URI to history URI, e.g. /history/2/1.4 to /history/2 > - latest revision number for history resource to 0.0 > - latest revision number for version resource to last URI token, > e.g. /history/2/1.4 to 1.4 > It should be a loadable class containing the following > static methods: > - String redirectUri(String uri) > - NodeRevisionNumber redirectLatestRevisionNumber(String uri) > --> > /history > /workspace > /workingresource > checkout-checkin > false > > forbidden > forbidden > > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search - Find what youre looking for faster. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.