tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manv...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF struts-config.xml
Date Fri, 08 Feb 2002 21:30:34 GMT
manveen     02/02/08 13:30:34

  Modified:    webapps/admin/WEB-INF struts-config.xml
  Log:
  Added memory Realm form and associated actions.
  
  Revision  Changes    Path
  1.24      +40 -11    jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/struts-config.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- struts-config.xml	7 Feb 2002 05:06:52 -0000	1.23
  +++ struts-config.xml	8 Feb 2002 21:30:34 -0000	1.24
  @@ -64,9 +64,13 @@
                       type="org.apache.webapp.admin.UserForm"/>
   
       <!-- JDBC Realm form bean -->
  -    <form-bean      name="realmForm"
  +    <form-bean      name="jdbcRealmForm"
                       type="org.apache.webapp.admin.realm.JDBCRealmForm"/>
   
  +    <!-- Memory Realm form bean -->
  +    <form-bean      name="memoryRealmForm"
  +                    type="org.apache.webapp.admin.realm.MemoryRealmForm"/>
  +
      <!-- UserDB Realm form bean -->
       <form-bean      name="userdbRealmForm"
                       type="org.apache.webapp.admin.realm.UserDBRealmForm"/>
  @@ -153,6 +157,10 @@
       <forward        name="JDBCRealm"
                       path="/jdbcRealm.jsp"
                   redirect="false"/>
  +                
  +    <forward        name="MemoryRealm"
  +                    path="/memoryRealm.jsp"
  +                redirect="false"/>
   
       <forward        name="UserDBRealm"
                       path="/userDBRealm.jsp"
  @@ -255,15 +263,29 @@
                         path="/logger.jsp"
                     redirect="true"/>
       </action>
  +
  +    <!-- Set up Memory Realm datastructure -->
  +    <action    path="/setUpMemoryRealm"
  +               type="org.apache.webapp.admin.realm.SetUpMemoryRealmAction"
  +               name="memoryRealmForm"
  +               scope="session">
  +    <forward        name="SetUpMemoryRealm"
  +                      path="/memoryRealm.jsp"
  +                  redirect="true"/>
  +    </action>
  +
  +   <!-- Set up JDBC Realm datastructure -->
  +    <action    path="/setUpJDBCRealm"
  +               type="org.apache.webapp.admin.realm.SetUpJDBCRealmAction"
  +               name="jdbcRealmForm"
  +               scope="session">
  +    </action>
           
       <!-- Set up Realm datastructure -->
       <action    path="/setUpUserDBRealm"
                  type="org.apache.webapp.admin.realm.SetUpUserDBRealmAction"
                  name="userdbRealmForm"
                  scope="session">
  -      <forward        name="SetUpDBRealm"
  -                      path="/userdbRealm.jsp"
  -                  redirect="true"/>
       </action>
       
       <!-- Log out of the application -->
  @@ -370,17 +392,24 @@
   
       <!-- JDBC realm action -->
       <action    path="/JDBCRealm"
  -              input="/jdbcRealm.jsp"
  -               name="realmForm"
  -              scope="request"
  -               type="org.apache.webapp.admin.realm.JDBCRealmAction"/>
  +               type="org.apache.webapp.admin.realm.JDBCRealmAction"
  +               name="jdbcRealmForm"
  +               scope="session"               
  +               input="/jdbcRealm.jsp"/>
  +
  +    <!-- Memory realm action -->
  +    <action    path="/MemoryRealm"
  +               type="org.apache.webapp.admin.realm.MemoryRealmAction"                 
      
  +               name="memoryRealmForm"
  +               scope="session"
  +               input="/memoryRealm.jsp"/>
                  
       <!-- UserDB realm action -->
       <action    path="/UserDBRealm"
  -              input="/userDBRealm.jsp"
  +               type="org.apache.webapp.admin.realm.UserDBRealmAction"             
                  name="userdbRealmForm"
  -              scope="request"
  -               type="org.apache.webapp.admin.realm.UserDBRealmAction"/>
  +               scope="session"
  +               input="/userDBRealm.jsp"/>
   
     </action-mappings>  
       
  
  
  

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


Mime
View raw message