portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggol...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf JetspeedSecurity.default JetspeedSecurity.properties JetspeedSecurity.template
Date Fri, 06 Sep 2002 03:29:43 GMT
ggolden     2002/09/05 20:29:43

  Modified:    webapp/WEB-INF/conf JetspeedSecurity.default
                        JetspeedSecurity.properties
                        JetspeedSecurity.template
  Log:
  Filled out the Jetspeed Security "nosecurity" service components to include
  the full set of management and authentication services, so, if selected, Jetspeed
  can actually run with NO dependence or use of the Turbine user / group / role
  object models.
  
  Maybe not ideal for production use, but interesting for testing,
  and a good start for new security component implementations.
  
  Hey - Jetspeed actually RUNS with these puppies!
  
  Extended the JetspeedSecurity template/default which produces the
  JetspeedSecurity.properties file so that all services can be selected.
  
  To use the nosecurity services:
  - edit the JetspeedSecurity.default file to enable the services you want
    (they are all in there but commented out).
  - do a "build clean" to generate the JetspeedSecurity.properties file
  - do a full build and continue the build / deploy process.
  
  Any psml that is there will be used - any user login that does not have a psml
  will fallback to the "user" role psml.
  
  Have fun!
  
  Revision  Changes    Path
  1.4       +12 -1     jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.default
  
  Index: JetspeedSecurity.default
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.default,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JetspeedSecurity.default	15 Jul 2002 21:40:58 -0000	1.3
  +++ JetspeedSecurity.default	6 Sep 2002 03:29:43 -0000	1.4
  @@ -13,6 +13,7 @@
   #########################################
   
   services.PortalAuthentication.classname=org.apache.jetspeed.services.security.turbine.TurbineAuthentication
  +#services.PortalAuthentication.classname=org.apache.jetspeed.services.security.nosecurity.NoAuthentication
   
   #########################################
   # Authorization Service                 #
  @@ -27,18 +28,28 @@
   #########################################
   
   services.UserManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineUserManagement
  +#services.UserManagement.classname=org.apache.jetspeed.services.security.nosecurity.NoUserManagement
   
   #########################################
   # Role Management Service               #
   #########################################
   
   services.RoleManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineRoleManagement
  +#services.RoleManagement.classname=org.apache.jetspeed.services.security.nosecurity.NoRoleManagement
   
   #########################################
   # Group Management Service              #
   #########################################
   
   services.GroupManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineGroupManagement
  +#services.GroupManagement.classname=org.apache.jetspeed.services.security.nosecurity.NoGroupManagement
  +
  +#########################################
  +# Permission Management Service        #
  +#########################################
  +
  +services.PermissionManagement.classname=org.apache.jetspeed.services.security.turbine.TurbinePermissionManagement
  +#services.PermissionManagement.classname=org.apache.jetspeed.services.security.nosecurity.NoPermissionManagement
   
   #########################################
   # Security Cache Service                #
  
  
  
  1.29      +0 -7      jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.properties
  
  Index: JetspeedSecurity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.properties,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- JetspeedSecurity.properties	13 Aug 2002 22:24:53 -0000	1.28
  +++ JetspeedSecurity.properties	6 Sep 2002 03:29:43 -0000	1.29
  @@ -61,13 +61,6 @@
   
   services.SecurityCache.classname=org.apache.jetspeed.services.security.SecurityCacheImpl
   
  -# -------------------------------------------------------------------
  -#
  -# UserManagement Services
  -#
  -# -------------------------------------------------------------------
  -
  -services.UserManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineUserManagement
   services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.BaseJetspeedUser
   
   # This is used by the SecurityService to make the password checking
  
  
  
  1.5       +5 -12     jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.template
  
  Index: JetspeedSecurity.template
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.template,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JetspeedSecurity.template	16 Jul 2002 17:27:07 -0000	1.4
  +++ JetspeedSecurity.template	6 Sep 2002 03:29:43 -0000	1.5
  @@ -31,13 +31,13 @@
   # User Management Service               #
   #########################################
   
  -services.UserManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineUserManagement
  +services.UserManagement.classname=@services.UserManagement.classname@
   
   #########################################
   # Role Management Service               #
   #########################################
   
  -services.RoleManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineRoleManagement
  +services.RoleManagement.classname=@services.RoleManagement.classname@
   services.JetspeedSecurity.role.class=org.apache.jetspeed.om.security.BaseJetspeedRole
   services.JetspeedSecurity.role.default=user
   
  @@ -45,14 +45,14 @@
   # Group Management Service              #
   #########################################
   
  -services.GroupManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineGroupManagement
  +services.GroupManagement.classname=@services.GroupManagement.classname@
   services.JetspeedSecurity.group.class=org.apache.jetspeed.om.security.BaseJetspeedGroup
   
   #########################################
   # Permission Management Service        #
   #########################################
   
  -services.PermissionManagement.classname=org.apache.jetspeed.services.security.turbine.TurbinePermissionManagement
  +services.PermissionManagement.classname=@services.PermissionManagement.classname@
   services.JetspeedSecurity.permission.class=org.apache.jetspeed.om.security.BaseJetspeedPermission
   
   #########################################
  @@ -61,13 +61,6 @@
   
   services.SecurityCache.classname=org.apache.jetspeed.services.security.SecurityCacheImpl
   
  -# -------------------------------------------------------------------
  -#
  -# UserManagement Services
  -#
  -# -------------------------------------------------------------------
  -
  -services.UserManagement.classname=org.apache.jetspeed.services.security.turbine.TurbineUserManagement
   services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.BaseJetspeedUser
   
   # This is used by the SecurityService to make the password checking
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message