If you're using Tomcat/JAAS and have your own user system, you just need to turn off SLIDE's security constraints:
in Domain.xml look for <permission> tags
like this:
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
<!-- to make clear to stores that rely on it
this is a collection -->
<revision>
<property
name="resourcetype"><![CDATA[<collection/>]]></property>
</revision>
<!-- <permission action="all" subject="all"
inheritable="true" />-->
<!-- <permission action="all"
subject="authenticated" inheritable="true"/>-->
<!-- <permission action="all"
subject="unauthenticated" inheritable="true"/>-->
<!-- <permission action="all" subject="/roles/user"
inheritable="true"/>-->
</objectnode>You see, all permissions commented out. It only works this way if you don't use Slide's access system and have your own, with JAAS too.
[EMAIL PROTECTED] wrote:
Hi,
I have security enabled in slide webdav and there I have a question about the following snippet of XML configuration:
<security-constraint> ... <auth-constraint> <role-name>root</role-name> <role-name>guest</role-name> <role-name>user</role-name> </auth-constraint> ... </security-constraint>
I assume that users having role root, user or guest are allowed to use the repository...
Is it possible to configure those roles somewhere else? Can you change those values while slide is running?
Can you configure that the role doesn't matter for access to slide?
Thanks!!!
David.
--------------------------------------------------
Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
