You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@apache.org on 2001/03/23 08:41:18 UTC
cvs commit: jakarta-slide/src/conf/webapp Domain.xml
remm 01/03/22 23:41:18
Modified: src/conf/webapp Domain.xml
Log:
- Adds automatic creation of principals. You can see by looking at the updated
getPrincipal method why it's not recommended to try directly manipulating the
objects :)
- That feature is disabled by default, but the default configuration enables
it, as it will ease the pain of first time users :)
- You can specify the types of the objects created.
- Security notice : DO NOT use the current SlideRealm with automatic creation
of users.
Revision Changes Path
1.15 +3 -0 jakarta-slide/src/conf/webapp/Domain.xml
Index: Domain.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/src/conf/webapp/Domain.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Domain.xml 2001/02/27 07:30:01 1.14
+++ Domain.xml 2001/03/23 07:41:18 1.15
@@ -74,6 +74,9 @@
<role name="user">slideroles.basic.UserRole</role>
<role name="guest">slideroles.basic.GuestRole</role>
+ <!-- Users management -->
+ <auto-create-users>true</auto-create-users>
+
<!-- Default properties mapping -->
<default-property name="foo" namespace="nsfoo/" value="bar"
role="user"/>