You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Sandeep <fo...@gmail.com> on 2005/04/06 12:12:56 UTC

Problems in adding user

Hi, i am new as far as using slide is concerned. I am having problems in 
creating users using DAVExplorer. The user created using DAVExplorer cannot log 
into SLIDE unless and untill i add it to tomcat-user.xml. Is there any way 
where in i can add users without making the changes to tomcat-user.xml. And if 
there is no way of adding user for SLIDE w/o making changes to tomcat-user.xml, 
then is there a way where in the changes are automatically reflected in the xml 
file and i dont have to mannually make the entries for the user.

Thanks.

Regards,
Sandeep.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Problems in adding user

Posted by Martin Kalén <mk...@apache.org>.
Sandeep wrote:
> Hi, i am new as far as using slide is concerned. I am having problems in 
> creating users using DAVExplorer. The user created using DAVExplorer cannot log 
> into SLIDE unless and untill i add it to tomcat-user.xml. Is there any way 
> where in i can add users without making the changes to tomcat-user.xml. And if 
> there is no way of adding user for SLIDE w/o making changes to tomcat-user.xml, 
> then is there a way where in the changes are automatically reflected in the xml 
> file and i dont have to mannually make the entries for the user.

Tomcat handles authentication ("letting someone in") and Slide handles
authorization ("determining what authenticated users can do").

See http://jakarta.apache.org/slide/howto-acl.html for some more details on each.

To make Tomcat use Slide for getting it's users and roles for authentication,
you can change Tomcat's default UserDatabaseRealm into
wrappers.catalina.SlideRealm (this is the setup in the Slide+Tomcat bundle),
or use JAAS authentication as described here:
http://jakarta.apache.org/slide/howto-jaas.html

See also FAQ "Where do I configure authentication and security?":
http://jakarta.apache.org/slide/faq.html


There is a good hand-on example of configuring Tomcat+Slide here:
http://wiki.osafoundation.org/bin/view/Chandler/SlideInstallation

Regards,
  Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org