Update of /cvsroot/junk/junk/WEB-INF/classes/junk/controller
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13778
Modified Files:
ConfigurationAction.java
Log Message:
deactivated temporary for security reasons
Index: ConfigurationAction.java
===================================================================
RCS file: /cvsroot/junk/junk/WEB-INF/classes/junk/controller/ConfigurationAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ConfigurationAction.java 26 Mar 2004 19:01:51 -0000 1.1
--- ConfigurationAction.java 31 Mar 2004 08:33:16 -0000 1.2
***************
*** 71,74 ****
--- 71,75 ----
/**
* Action to handle the configuration dialog
+ *@todo replace the crimson part by Xerces/Xalan
*/
public class ConfigurationAction extends Action {
***************
*** 133,136 ****
--- 134,142 ----
throws Exception
{
+ if (true) {
+ throw new javax.servlet.ServletException(
+ "There is no access control mechanism yet, so this is deactivated");
+ }
+
//-
String plugin = hsrq.getParameter("plugin");
***************
*** 155,163 ****
if (reset.equals("true")) {
! //if we clicked a link, reset the form
! //values by ref with loaded data
resetForm(plugins, plugin, cf);
! } else { //if we klicked the button
!
//apply changed config from cf to treeset
plugins = applyConfig(plugins, plugin, cf);
--- 161,169 ----
if (reset.equals("true")) {
! //if we clicked a link,
! //reset the form values by ref with loaded data
resetForm(plugins, plugin, cf);
! } else {
! //if we klicked the button,
//apply changed config from cf to treeset
plugins = applyConfig(plugins, plugin, cf);
|