Added: juddi/branches/juddi-3.2.x/juddi-gui/nbproject/genfiles.properties
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/nbproject/genfiles.properties?rev=1460942&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/nbproject/genfiles.properties (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/nbproject/genfiles.properties Tue Mar 
26 01:17:45 2013
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=252e20a1
+build.xml.script.CRC32=f15a2af6
[email protected]
+# This file is used by a NetBeans-based IDE to track changes in generated 
files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never 
regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=252e20a1
+nbproject/build-impl.xml.script.CRC32=b20787db
+nbproject/[email protected]

Added: juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.properties
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.properties?rev=1460942&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.properties (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.properties Tue Mar 
26 01:17:45 2013
@@ -0,0 +1,179 @@
+annotation.processing.enabled=true
+annotation.processing.enabled.in.editor=true
+annotation.processing.processors.list=
+annotation.processing.run.all.processors=true
+annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
+build.classes.dir=${build.web.dir}/WEB-INF/classes
+build.classes.excludes=**/*.java,**/*.form
+build.dir=build
+build.generated.dir=${build.dir}/generated
+build.generated.sources.dir=${build.dir}/generated-sources
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+build.web.dir=${build.dir}/web
+build.web.excludes=${build.classes.excludes}
+client.urlPart=
+compile.jsps=true
+conf.dir=${source.root}/conf
+debug.classpath=${build.classes.dir}:${javac.classpath}
+debug.test.classpath=\
+    ${run.test.classpath}
+display.browser=true
+dist.dir=dist
+dist.ear.war=${dist.dir}/${war.ear.name}
+dist.javadoc.dir=${dist.dir}/javadoc
+dist.war=${dist.dir}/${war.name}
+endorsed.classpath=
+excludes=
+file.reference.aopalliance-1.0.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\aopalliance-1.0.jar
+file.reference.asm-3.3.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\asm-3.3.jar
+file.reference.commons-beanutils-1.7.0.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-beanutils-1.7.0.jar
+file.reference.commons-beanutils-core-1.8.0.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-beanutils-core-1.8.0.jar
+file.reference.commons-codec-1.3.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-codec-1.3.jar
+file.reference.commons-collections-3.2.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-collections-3.2.1.jar
+file.reference.commons-configuration-1.6.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-configuration-1.6.jar
+file.reference.commons-digester-1.8.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-digester-1.8.jar
+file.reference.commons-lang-2.4.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-lang-2.4.jar
+file.reference.commons-logging-api-1.1.jar=../juddi-tomcat/target/tomcat/apache-tomcat-6.0.26/webapps/juddiv3/WEB-INF/lib/commons-logging-api-1.1.jar
+file.reference.commons-pool-1.3.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\commons-pool-1.3.jar
+file.reference.cxf-api-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-api-2.3.1.jar
+file.reference.cxf-common-schemas-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-common-schemas-2.3.1.jar
+file.reference.cxf-common-utilities-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-common-utilities-2.3.1.jar
+file.reference.cxf-rt-bindings-soap-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-bindings-soap-2.3.1.jar
+file.reference.cxf-rt-bindings-xml-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-bindings-xml-2.3.1.jar
+file.reference.cxf-rt-core-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-core-2.3.1.jar
+file.reference.cxf-rt-databinding-jaxb-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-databinding-jaxb-2.3.1.jar
+file.reference.cxf-rt-frontend-jaxws-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-frontend-jaxws-2.3.1.jar
+file.reference.cxf-rt-frontend-simple-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-frontend-simple-2.3.1.jar
+file.reference.cxf-rt-transports-http-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-transports-http-2.3.1.jar
+file.reference.cxf-rt-ws-addr-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-rt-ws-addr-2.3.1.jar
+file.reference.cxf-tools-common-2.3.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\cxf-tools-common-2.3.1.jar
+file.reference.geronimo-javamail_1.4_spec-1.7.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\geronimo-javamail_1.4_spec-1.7.1.jar
+file.reference.geronimo-jms_1.1_spec-1.0.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\geronimo-jms_1.1_spec-1.0.1.jar
+file.reference.geronimo-jpa_3.0_spec-1.0.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\geronimo-jpa_3.0_spec-1.0.jar
+file.reference.geronimo-jta_1.1_spec-1.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\geronimo-jta_1.1_spec-1.1.jar
+file.reference.jaxb-impl-2.1.13.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\jaxb-impl-2.1.13.jar
+file.reference.juddi-client-3.1.5-SNAPSHOT.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\juddi-client-3.1.5-SNAPSHOT.jar
+file.reference.juddi-client-3.1.5-SNAPSHOT.jar-1=..\\juddi-client\\target\\juddi-client-3.1.5-SNAPSHOT.jar
+file.reference.juddi-core-openjpa-3.1.5-SNAPSHOT.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\juddi-core-openjpa-3.1.5-SNAPSHOT.jar
+file.reference.junit-3.8.2.jar=junit-3.8.2.jar
+file.reference.neethi-2.0.4.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\neethi-2.0.4.jar
+file.reference.openjpa-1.2.2.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\openjpa-1.2.2.jar
+file.reference.persistence-api-1.0.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\persistence-api-1.0.jar
+file.reference.serp-1.13.1.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\serp-1.13.1.jar
+file.reference.spring-aop-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-aop-3.0.5.RELEASE.jar
+file.reference.spring-asm-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-asm-3.0.5.RELEASE.jar
+file.reference.spring-beans-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-beans-3.0.5.RELEASE.jar
+file.reference.spring-context-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-context-3.0.5.RELEASE.jar
+file.reference.spring-core-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-core-3.0.5.RELEASE.jar
+file.reference.spring-expression-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-expression-3.0.5.RELEASE.jar
+file.reference.spring-web-3.0.5.RELEASE.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\spring-web-3.0.5.RELEASE.jar
+file.reference.stax2-api-3.0.2.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\stax2-api-3.0.2.jar
+file.reference.uddi-ws-3.1.5-SNAPSHOT.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\uddi-ws-3.1.5-SNAPSHOT.jar
+file.reference.woodstox-core-asl-4.0.8.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\woodstox-core-asl-4.0.8.jar
+file.reference.wsdl4j-1.6.2.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\wsdl4j-1.6.2.jar
+file.reference.xml-resolver-1.2.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\xml-resolver-1.2.jar
+file.reference.XmlSchema-1.4.7.jar=..\\juddi-tomcat\\target\\tomcat\\apache-tomcat-6.0.26\\webapps\\juddiv3\\WEB-INF\\lib\\XmlSchema-1.4.7.jar
+includes=**
+j2ee.compile.on.save=true
+j2ee.copy.static.files.on.save=true
+j2ee.deploy.on.save=false
+j2ee.platform=1.5
+j2ee.platform.classpath=${j2ee.server.home}/lib/annotations-api.jar:${j2ee.server.home}/lib/catalina-ant.jar:${j2ee.server.home}/lib/catalina-ha.jar:${j2ee.server.home}/lib/catalina-tribes.jar:${j2ee.server.home}/lib/catalina.jar:${j2ee.server.home}/lib/commons-discovery-0.2.jar:${j2ee.server.home}/lib/derby-10.4.2.0.jar:${j2ee.server.home}/lib/el-api.jar:${j2ee.server.home}/lib/jasper-el.jar:${j2ee.server.home}/lib/jasper.jar:${j2ee.server.home}/lib/jsp-api.jar:${j2ee.server.home}/lib/log4j-1.2.13.jar:${j2ee.server.home}/lib/mysql-connector-java-5.1.6.jar:${j2ee.server.home}/lib/servlet-api.jar:${j2ee.server.home}/lib/tomcat-coyote.jar:${j2ee.server.home}/lib/tomcat-dbcp.jar:${j2ee.server.home}/lib/tomcat-i18n-es.jar:${j2ee.server.home}/lib/tomcat-i18n-fr.jar:${j2ee.server.home}/lib/tomcat-i18n-ja.jar:${j2ee.server.home}/bin/tomcat-juli.jar
+j2ee.server.type=Tomcat
+jar.compress=false
+javac.classpath=\
+    ${file.reference.XmlSchema-1.4.7.jar}:\
+    ${file.reference.aopalliance-1.0.jar}:\
+    ${file.reference.asm-3.3.jar}:\
+    ${file.reference.commons-beanutils-1.7.0.jar}:\
+    ${file.reference.commons-beanutils-core-1.8.0.jar}:\
+    ${file.reference.commons-codec-1.3.jar}:\
+    ${file.reference.commons-collections-3.2.1.jar}:\
+    ${file.reference.commons-configuration-1.6.jar}:\
+    ${file.reference.commons-digester-1.8.jar}:\
+    ${file.reference.commons-lang-2.4.jar}:\
+    ${file.reference.commons-logging-api-1.1.jar}:\
+    ${file.reference.commons-logging-api-1.1.jar}:\
+    ${file.reference.commons-pool-1.3.jar}:\
+    ${file.reference.cxf-api-2.3.1.jar}:\
+    ${file.reference.cxf-common-schemas-2.3.1.jar}:\
+    ${file.reference.cxf-common-utilities-2.3.1.jar}:\
+    ${file.reference.cxf-rt-bindings-soap-2.3.1.jar}:\
+    ${file.reference.cxf-rt-bindings-xml-2.3.1.jar}:\
+    ${file.reference.cxf-rt-core-2.3.1.jar}:\
+    ${file.reference.cxf-rt-databinding-jaxb-2.3.1.jar}:\
+    ${file.reference.cxf-rt-frontend-jaxws-2.3.1.jar}:\
+    ${file.reference.cxf-rt-frontend-simple-2.3.1.jar}:\
+    ${file.reference.cxf-rt-transports-http-2.3.1.jar}:\
+    ${file.reference.cxf-rt-ws-addr-2.3.1.jar}:\
+    ${file.reference.cxf-tools-common-2.3.1.jar}:\
+    ${file.reference.geronimo-javamail_1.4_spec-1.7.1.jar}:\
+    ${file.reference.geronimo-jms_1.1_spec-1.0.1.jar}:\
+    ${file.reference.geronimo-jpa_3.0_spec-1.0.jar}:\
+    ${file.reference.geronimo-jta_1.1_spec-1.1.jar}:\
+    ${file.reference.jaxb-impl-2.1.13.jar}:\
+    ${file.reference.juddi-client-3.1.5-SNAPSHOT.jar}:\
+    ${file.reference.juddi-core-openjpa-3.1.5-SNAPSHOT.jar}:\
+    ${file.reference.junit-3.8.2.jar}:\
+    ${file.reference.neethi-2.0.4.jar}:\
+    ${file.reference.openjpa-1.2.2.jar}:\
+    ${file.reference.persistence-api-1.0.jar}:\
+    ${file.reference.serp-1.13.1.jar}:\
+    ${file.reference.spring-aop-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-asm-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-beans-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-context-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-core-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-expression-3.0.5.RELEASE.jar}:\
+    ${file.reference.spring-web-3.0.5.RELEASE.jar}:\
+    ${file.reference.stax2-api-3.0.2.jar}:\
+    ${file.reference.uddi-ws-3.1.5-SNAPSHOT.jar}:\
+    ${file.reference.woodstox-core-asl-4.0.8.jar}:\
+    ${file.reference.wsdl4j-1.6.2.jar}:\
+    ${file.reference.xml-resolver-1.2.jar}:\
+    ${file.reference.juddi-client-3.1.5-SNAPSHOT.jar-1}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.debug=true
+javac.deprecation=false
+javac.processorpath=\
+    ${javac.classpath}
+javac.source=1.5
+javac.target=1.5
+javac.test.classpath=\
+    ${javac.classpath}:\
+    ${build.classes.dir}
+javac.test.processorpath=\
+    ${javac.test.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.preview=true
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+lib.dir=${web.docbase.dir}/WEB-INF/lib
+persistence.xml.dir=${conf.dir}
+platform.active=default_platform
+resource.dir=setup
+run.test.classpath=\
+    ${javac.test.classpath}:\
+    ${build.test.classes.dir}
+# Space-separated list of JVM arguments used when running a class with a main 
method or a unit test
+# (you may also define separate properties like run-sys-prop.name=value 
instead of -Dname=value):
+runmain.jvmargs=
+source.encoding=UTF-8
+source.root=src
+src.dir=${source.root}/java
+test.src.dir=test
+war.content.additional=
+war.ear.name=${war.name}
+war.name=UDDIBrowser.war
+web.docbase.dir=web
+webinf.dir=web/WEB-INF

Added: juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.xml
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.xml?rev=1460942&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.xml (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/nbproject/project.xml Tue Mar 26 
01:17:45 2013
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1";>
+    <type>org.netbeans.modules.web.project</type>
+    <configuration>
+        <data xmlns="http://www.netbeans.org/ns/web-project/3";>
+            <name>UDDIBrowser</name>
+            <minimum-ant-version>1.6.5</minimum-ant-version>
+            <web-module-libraries>
+                <library dirs="200">
+                    <file>${file.reference.XmlSchema-1.4.7.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.aopalliance-1.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.asm-3.3.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-beanutils-1.7.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.commons-beanutils-core-1.8.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-codec-1.3.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.commons-collections-3.2.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.commons-configuration-1.6.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-digester-1.8.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-lang-2.4.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-logging-api-1.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-logging-api-1.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-pool-1.3.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.cxf-api-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.cxf-common-schemas-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-common-utilities-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-bindings-soap-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-bindings-xml-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.cxf-rt-core-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-databinding-jaxb-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-frontend-jaxws-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-frontend-simple-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.cxf-rt-transports-http-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.cxf-rt-ws-addr-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.cxf-tools-common-2.3.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.geronimo-javamail_1.4_spec-1.7.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.geronimo-jms_1.1_spec-1.0.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.geronimo-jpa_3.0_spec-1.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.geronimo-jta_1.1_spec-1.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxb-impl-2.1.13.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.juddi-client-3.1.5-SNAPSHOT.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.juddi-core-openjpa-3.1.5-SNAPSHOT.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.junit-3.8.2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.neethi-2.0.4.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.openjpa-1.2.2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.persistence-api-1.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.serp-1.13.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.spring-aop-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.spring-asm-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.spring-beans-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.spring-context-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.spring-core-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.spring-expression-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.spring-web-3.0.5.RELEASE.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.stax2-api-3.0.2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.uddi-ws-3.1.5-SNAPSHOT.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.woodstox-core-asl-4.0.8.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.wsdl4j-1.6.2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.xml-resolver-1.2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    
<file>${file.reference.juddi-client-3.1.5-SNAPSHOT.jar-1}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+            </web-module-libraries>
+            <web-module-additional-libraries/>
+            <source-roots>
+                <root id="src.dir"/>
+            </source-roots>
+            <test-roots>
+                <root id="test.src.dir"/>
+            </test-roots>
+        </data>
+        <references 
xmlns="http://www.netbeans.org/ns/ant-project-references/1"/>
+    </configuration>
+</project>

Added: juddi/branches/juddi-3.2.x/juddi-gui/src/conf/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/conf/MANIFEST.MF?rev=1460942&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/src/conf/MANIFEST.MF (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/src/conf/MANIFEST.MF Tue Mar 26 
01:17:45 2013
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+

Added: juddi/branches/juddi-3.2.x/juddi-gui/src/java/META-INF/uddi.xml
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/META-INF/uddi.xml?rev=1460942&view=auto
==============================================================================
--- juddi/branches/juddi-3.2.x/juddi-gui/src/java/META-INF/uddi.xml (added)
+++ juddi/branches/juddi-3.2.x/juddi-gui/src/java/META-INF/uddi.xml Tue Mar 26 
01:17:45 2013
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<uddi>
+    <reloadDelay>5000</reloadDelay>
+    <manager name="example-manager">
+        <nodes>
+            <node>
+                <!-- required 'default' node -->
+                <name>default</name> 
+                <properties>
+                    <property name="serverName" value="localhost"/>
+                    <property name="serverPort" value="8080"/>
+                </properties>
+                <description>Main jUDDI node</description>
+                <!-- JAX-WS Transport -->
+                
<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
+                
<custodyTransferUrl>http://localhost:8080/juddiv3/services/custody-transfer</custodyTransferUrl>
+                
<inquiryUrl>http://localhost:8080/juddiv3/services/inquiry</inquiryUrl>
+                
<publishUrl>http://localhost:8080/juddiv3/services/publish</publishUrl>
+                
<securityUrl>http://localhost:8080/juddiv3/services/security</securityUrl>
+                
<subscriptionUrl>http://localhost:8080/juddiv3/services/subscription</subscriptionUrl>
+                
<subscriptionListenerUrl>http://localhost:8080/juddiv3/services/subscription-listener</subscriptionListenerUrl>
+                
<juddiApiUrl>http://localhost:8080/juddiv3/services/juddi-api</juddiApiUrl>
+            </node>
+        </nodes>
+    </manager>
+</uddi>

Added: 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/AES.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/AES.java?rev=1460942&view=auto
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/AES.java
 (added)
+++ 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/AES.java
 Tue Mar 26 01:17:45 2013
@@ -0,0 +1,297 @@
+package  org.apache.juddi.webconsole;
+
+/**
+ *
+ * @author Alex O'Ree
+ *
+ */
+import javax.crypto.*;
+import javax.crypto.spec.*;
+import java.io.*;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
+
+/**
+ * <summary> This program uses a AES key, retrieves its raw bytes, and then
+ * reinstantiates a AES key from the key bytes.</summary> The reinstantiated 
key
+ * is used to initialize a AES cipher for encryption and decryption. source :
+ * http://java.sun.com/developer/technicalArticles/Security/AES/AES_v1.html
+ *
+ */
+public class AES {
+
+    public static final String logname = "org.apache.juddi.gui";
+    public static final Logger log = Logger.getLogger(logname);
+
+    /**
+     * Turns array of bytes into string
+     *
+     * @param buf      Array of bytes to convert to hex string
+     * @return Generated hex string
+     */
+    private static String asHex(byte buf[]) {
+        //return new String(buf);
+        StringBuilder strbuf = new StringBuilder(buf.length * 2);
+        int i;
+
+        for (i = 0; i < buf.length; i++) {
+            if (((int) buf[i] & 0xff) < 0x10) {
+                strbuf.append("0");
+            }
+            strbuf.append(Long.toString((int) buf[i] & 0xff, 16));
+        }
+
+        return strbuf.toString();
+    }
+
+    private static byte[] hexToBytes(String s) {
+        //return s.getBytes();
+        return hexToBytes(s.toCharArray());
+    }
+    private static final char[] kDigits = {'0', '1', '2', '3', '4', '5', '6', 
'7', '8', '9', 'a',
+        'b', 'c', 'd', 'e', 'f'};
+
+    private static byte[] hexToBytes(char[] hex) {
+        int length = hex.length / 2;
+        byte[] raw = new byte[length];
+        for (int i = 0; i < length; i++) {
+            int high = Character.digit(hex[i * 2], 16);
+            int low = Character.digit(hex[i * 2 + 1], 16);
+            int value = (high << 4) | low;
+            if (value > 127) {
+                value -= 256;
+            }
+            raw[i] = (byte) value;
+        }
+        return raw;
+    }
+    //default key
+    private final static String something2 = 
"dde284c781d60ca0b56c4b23eec85217951dc99869402abd42c7dcc9080d60aa";
+
+    /**
+     * generates an AES based off of the selected key size
+     * @param keysize
+     * @return may return null if the key is not of a supported size by the 
current jdk
+     */
+    public static String GEN(int keysize) {
+        KeyGenerator kgen;
+        try {
+            kgen = KeyGenerator.getInstance("AES");
+            kgen.init(keysize);
+            SecretKey skey = kgen.generateKey();
+            byte[] raw = skey.getEncoded();
+            return asHex(raw);
+        } catch (Exception ex) {
+            log.log(Level.FATAL, "error generating key", ex);
+        }
+        return null;
+    }
+
+    /**
+     * Generate a new AES 256 bit encryption key. Once generated, this key can
+     * be used to replace the default key.
+     *
+     * @return
+     */
+    public static String GEN() {
+        return GEN(256);
+    }
+
+    /**
+     * uses a variety of mechanisms to load a resource, should be jdk and os 
independent
+     * @param FileName
+     * @return 
+     */
+    URI getUrl(String FileName) {
+        URL url = null;
+        if (url == null) {
+            try {
+                url = 
Thread.currentThread().getContextClassLoader().getResource(FileName);
+                log.log(Level.DEBUG, "8 file loaded  from " + url.toString());
+            } catch (Exception ex) {
+                log.log(Level.DEBUG, "not found", ex);
+            }
+        }
+        if (url == null) {
+            try {
+                url = 
Thread.currentThread().getContextClassLoader().getResource("/" + FileName);
+                log.log(Level.DEBUG, "7 file loaded  from " + url.toString());
+            } catch (Exception ex) {
+                log.log(Level.DEBUG, "not found", ex);
+            }
+        }
+
+        if (url == null) {
+            try {
+                url = new URL(FileName);
+                log.log(Level.DEBUG, "1 file loaded  from " + url.toString());
+            } catch (Exception ex) {
+                log.log(Level.DEBUG, "not found", ex);
+            }
+        }
+
+        if (url == null) {
+            try {
+                url = this.getClass().getClassLoader().getResource(FileName);
+                log.log(Level.DEBUG, "3 file loaded  from " + url.toString());
+            } catch (Exception ex) {
+                log.log(Level.DEBUG, "not found", ex);
+            }
+        }
+        if (url == null) {
+            try {
+                url = this.getClass().getClassLoader().getResource("/" + 
FileName);
+                log.log(Level.DEBUG, "3 file loaded  from " + url.toString());
+            } catch (Exception ex) {
+                log.log(Level.DEBUG, "not found", ex);
+            }
+        }
+        try {
+            return url.toURI();
+        } catch (URISyntaxException ex) {
+            log.log(Level.DEBUG, null, ex);
+        }
+        return null;
+    }
+
+    /**
+     * used to read our key file
+     * @param file
+     * @return 
+     */
+    private static String ReadAllText(File file) {
+        try {
+            FileInputStream stream = new FileInputStream(file);
+            int size = 1024;
+            byte chars[] = new byte[size];
+            int k = stream.read(chars);
+            StringBuilder str = new StringBuilder();
+            while (k > 0) {
+
+                for (int i = 0; i < k; i++) {
+                    str.append((char) chars[i]);
+                }
+                k = stream.read(chars);
+            }
+            stream.close();
+            return str.toString();
+        } catch (Exception e) {
+            return "";
+        }
+
+    }
+
+    private static String LoadKey() {
+        String key = null;
+        try {
+            File f = new File(new AES().getUrl("/META-INF/aes.key"));
+            key = ReadAllText(f);
+        } catch (Exception e) {
+        }
+        if (key != null) {
+            log.log(Level.DEBUG, "key loaded from file");
+            return key;
+        } else {
+            log.log(Level.DEBUG, "default encryption key loaded.");
+            return something2;
+        }
+    }
+
+    public static String EN(String cleartext) throws Exception {
+        return EN(cleartext, LoadKey());
+    }
+
+    static String EN(String cleartext, String key) throws Exception {
+        byte[] raw =//skey.getEncoded();
+                hexToBytes(key); //
+        SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
+        // Instantiate the cipher
+        Cipher cipher = Cipher.getInstance("AES");
+        cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
+        byte[] encrypted = cipher.doFinal(cleartext.getBytes());
+        return asHex(encrypted);
+    }
+
+    static String DE(String ciphertext) throws Exception {
+        return DE(ciphertext, LoadKey());
+    }
+
+    static String DE(String ciphertext, String key) throws Exception {
+        byte[] raw =//skey.getEncoded();
+                hexToBytes(key); //
+        SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
+        Cipher cipher = Cipher.getInstance("AES");
+        cipher.init(Cipher.DECRYPT_MODE, skeySpec);
+        byte[] original = cipher.doFinal(hexToBytes(ciphertext));
+        return new String(original);
+    }
+
+    /**
+     * return true is the supplied key is a valid aes key
+     *
+     * @param key
+     * @return
+     */
+    public static boolean ValidateKey(String key) {
+        try {
+            String src = 
"abcdefghijklmopqrstuvwxyz123567890!@#$%^&*()_+{}|:\">?<,";
+            String x = EN(src, key);
+            String y = DE(x, key);
+            //if the sample text is encryptable and decryptable, and it was 
actually encrypted
+            if (x.equals(src) && !x.equals(y)) {
+                return true;
+            }
+            return false;
+        } catch (Exception ex) {
+            log.log(Level.WARN, null, ex);
+            return false;
+        }
+    }
+
+    /**
+     * encrypts a password using AES  Requires the Unlimited Strength Crypto
+     * Extensions
+     *
+     * @param clear
+     * @return
+     */
+    public static String Encrypt(String clear, String key) {
+        if ((clear==null || clear.length()==0)) {
+            return "";
+        }
+        try {
+            return AES.EN(clear, key);
+        } catch (Exception ex) {
+            Logger.getLogger(logname).log(Level.FATAL, "I cannot encrypt 
sensitive information! Check to make sure the unlimited strength JCE is 
installed " + ex.getMessage());
+        }
+        return "";
+    }
+
+    /**
+     * Decrypts a password or other sensitive data If the parameter is null or
+     * empty, an empty string is returned. If the parameter is not encrypted or
+     * was encrypted using a different key or it fails to decrypt, the original
+     * text is returned.
+     *
+     * @param cipher
+     * @return
+     */
+    public static String Decrypt(String cipher, String key) {
+        if ((cipher==null || cipher.length()==0)) {
+            return "";
+        }
+        try {
+            return AES.DE(cipher, key);
+        } catch (Exception ex) {
+            Logger.getLogger(logname).log(Level.FATAL, "trouble decrypted 
data, check to make sure the unlimited strength JCE is installed " + 
ex.getMessage());
+        }
+        return cipher;
+
+    }
+
+ 
+ 
+}

Added: 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PagableContainer.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PagableContainer.java?rev=1460942&view=auto
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PagableContainer.java
 (added)
+++ 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PagableContainer.java
 Tue Mar 26 01:17:45 2013
@@ -0,0 +1,19 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apache.juddi.webconsole;
+
+/**
+ * This simple class enables use to pass rendered html data and paging
+ * information back and forth from jsp context to java
+ *
+ * @author Alex O'Ree
+ */
+public class PagableContainer {
+
+    public int offset = 0;
+    public int totalrecords = 0;
+    public int displaycount = 0;
+    public String renderedHtml = "";
+}

Added: 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PostBackConstants.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PostBackConstants.java?rev=1460942&view=auto
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PostBackConstants.java
 (added)
+++ 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/PostBackConstants.java
 Tue Mar 26 01:17:45 2013
@@ -0,0 +1,42 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apache.juddi.webconsole;
+
+/**
+ * A collection of constants to use for form postbacks and parsing data from 
the
+ * browser All fields MUST not contain any characters that could interfer with
+ * the rendering of a webpage or javascript and should thus be escaped 
sequences
+ * of characters
+ *
+ * @author Alex O'Ree
+ */
+public class PostBackConstants {
+
+    public static final String OVERVIEW = "overviewDoc";
+    public static final String TMODELINSTANCE = "tmodelInstance";
+    public static final String BINDINGTEMPLATE = "bindingTemplate";
+    public static final String BINDINGKEY = "bindingKey";
+    public static final String BUSINESSKEY = "businessKey";
+    public static final String SERVICEKEY = "serviceKey";
+    public static final String CLICK_TO_EDIT = "Click to edit";
+    public static final String DESCRIPTION = "Description";
+    public static final String DISCOVERYURL = "disco";
+    public static final String PHONE = "Phone";
+    public static final String ADDRESS = "Address";
+    public static final String ADDRESSLINE = "addressLine";
+    public static final String CONTACT_PREFIX = "contact";
+    public static final String NAME = "Name";
+    public static final String LANG = "Lang";
+    public static final String VALUE = "Value";
+    public static final String TYPE = "Type";
+    public static final String EMAIL = "Email";
+    public static final String SORTCODE = "Sortcode";
+    public static final String KEYNAME = "KeyName";
+    public static final String KEYVALUE = "KeyValue";
+    public static final String CATBAG_KEY_REF = "catbagkeyref";
+    public static final String IDENT_KEY_REF = "identbagkeyref";
+    public static final String CATBAG_KEY_REF_GRP = "catbaggrpkeyref";
+    public static final String KEY_REF = "keyref";
+}

Added: 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/SaveBusinessPostbackHelper.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/SaveBusinessPostbackHelper.java?rev=1460942&view=auto
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/SaveBusinessPostbackHelper.java
 (added)
+++ 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/SaveBusinessPostbackHelper.java
 Tue Mar 26 01:17:45 2013
@@ -0,0 +1,13 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apache.juddi.webconsole;
+
+/**
+ *
+ * @author Alex O'Ree
+ */
+public class SaveBusinessPostbackHelper {
+    
+}

Added: 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/StartupServlet.java
URL: 
http://svn.apache.org/viewvc/juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/StartupServlet.java?rev=1460942&view=auto
==============================================================================
--- 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/StartupServlet.java
 (added)
+++ 
juddi/branches/juddi-3.2.x/juddi-gui/src/java/org/apache/juddi/webconsole/StartupServlet.java
 Tue Mar 26 01:17:45 2013
@@ -0,0 +1,51 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.apache.juddi.webconsole;
+
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Properties;
+import javax.servlet.ServletContextEvent;
+
+/**
+ * This startup servlet's job is to generate an encryption key which will be 
used for encrypting
+ * cached user credentials in the http session object
+ * @author Alex O'Ree
+ */
+public class StartupServlet implements javax.servlet.ServletContextListener {
+
+    public void contextInitialized(ServletContextEvent sce) {
+        FileOutputStream fos = null;
+        try {
+            //URL resource = 
sce.getServletContext().getResource("/META-INF/config.properties");
+            Properties p = new Properties();
+            InputStream is = 
sce.getServletContext().getResourceAsStream("/META-INF/config.properties");
+            p.load(is);
+            p.remove("key");
+            String key = AES.GEN(256);
+            if (key == null) {
+                key = AES.GEN(128);
+            }
+            p.put("key", key);
+            fos = new 
FileOutputStream(sce.getServletContext().getRealPath("/META-INF/config.properties"));
+
+            p.store(fos, "No comments");
+            fos.flush();
+            fos.close();
+        } catch (Exception ex) {
+            ex.printStackTrace();
+            try {
+                if (fos != null) {
+                    fos.close();
+                }
+            } catch (Exception e) {
+            }
+        }
+    }
+
+    public void contextDestroyed(ServletContextEvent sce) {
+    }
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to