weaver 2004/07/20 06:58:59
Modified: src/sql populate-userinfo-for-default-psml.sql
portal/src/webapp/WEB-INF/conf jetspeed.properties
Log:
Changed default user to the more standard "guest"
Revision Changes Path
1.3 +4 -0
jakarta-jetspeed-2/src/sql/populate-userinfo-for-default-psml.sql
Index: populate-userinfo-for-default-psml.sql
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/src/sql/populate-userinfo-for-default-psml.sql,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- populate-userinfo-for-default-psml.sql 24 May 2004 04:20:38 -0000 1.2
+++ populate-userinfo-for-default-psml.sql 20 Jul 2004 13:58:58 -0000 1.3
@@ -14,14 +14,18 @@
INSERT INTO SECURITY_PRINCIPAL
VALUES(6,'org.apache.jetspeed.security.JetspeedRolePrincipalImpl','/role/admin','2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_PRINCIPAL
VALUES(7,'org.apache.jetspeed.security.JetspeedRolePrincipalImpl','/role/manager','2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_PRINCIPAL
VALUES(8,'org.apache.jetspeed.security.JetspeedRolePrincipalImpl','/role/user','2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
+INSERT INTO SECURITY_PRINCIPAL
VALUES(9,'org.apache.jetspeed.security.JetspeedUserPrincipalImpl','/user/guest','2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
+INSERT INTO SECURITY_PRINCIPAL
VALUES(10,'org.apache.jetspeed.security.JetspeedRolePrincipalImpl','/role/guest','2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_CREDENTIAL VALUES(1,1,'admin',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_CREDENTIAL VALUES(2,2,'manager',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_CREDENTIAL VALUES(3,3,'user',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_CREDENTIAL VALUES(4,4,'tomcat',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_CREDENTIAL VALUES(5,5,'jetspeed',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
+INSERT INTO SECURITY_CREDENTIAL VALUES(9,9,'guest',0,null,'2004-05-22
16:27:12.572','2004-05-22 16:27:12.572');
INSERT INTO SECURITY_USER_ROLE VALUES(1,6);
INSERT INTO SECURITY_USER_ROLE VALUES(1,7);
INSERT INTO SECURITY_USER_ROLE VALUES(1,8);
INSERT INTO SECURITY_USER_ROLE VALUES(2,7);
INSERT INTO SECURITY_USER_ROLE VALUES(2,8);
INSERT INTO SECURITY_USER_ROLE VALUES(3,8);
+INSERT INTO SECURITY_USER_ROLE VALUES(9,10);
1.55 +2 -2
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties
Index: jetspeed.properties
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- jetspeed.properties 23 Jun 2004 18:44:14 -0000 1.54
+++ jetspeed.properties 20 Jul 2004 13:58:58 -0000 1.55
@@ -49,7 +49,7 @@
# if no user has been setup, default.user.principal will be
# automatically added via HttpRequestContext.setUserPrincpal()
-default.user.principal=anon
+default.user.principal=guest
# -------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]