- 4.0.0
- org.springframework
- spring-webflow
- jar
- Spring Web Flow
- 1.0.2-SNAPSHOT
- Spring Web Flow
- http://www.springframework.org
-
-
- The Apache Software License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
-
- scm:svn:https://svn.sourceforge.net/svnroot/springframework/spring-projects
- scm:svn:https://svn.sourceforge.net/svnroot/springframework/spring-projects
- 1.0.2
- http://svn.sourceforge.net/viewcvs.cgi/springframework/spring-projects
-
-
- Spring Framework
- http://www.springframework.org/
-
-
-
-
- commons-codec
- commons-codec
- 1.1
- true
-
-
- commons-logging
- commons-logging
- 1.0.4
-
-
- concurrent
- concurrent
- 1.3.4
- true
-
-
- javax.portlet
- portlet-api
- 1.0
- provided
-
-
- javax.servlet
- servlet-api
- 2.4
- provided
-
-
- junit
- junit
- 3.8.1
- true
-
-
- ognl
- ognl
- 2.6.9
-
-
- org.apache.myfaces.core
- myfaces-api
- 1.1.4
- provided
-
-
- org.apache.myfaces.core
- myfaces-impl
- 1.1.4
- true
-
-
- struts
- struts
- 1.2.9
- true
-
-
-
- org.springframework
- spring-beans
- 2.0.2
-
-
- org.springframework
- spring-binding
- ${project.version}
-
-
- org.springframework
- spring-context
- 2.0.2
-
-
- org.springframework
- spring-core
- 2.0.2
-
-
- org.springframework
- spring-portlet
- 2.0.2
- true
-
-
- org.springframework
- spring-struts
- 2.0.2
- true
-
-
- org.springframework
- spring-web
- 2.0.2
-
-
- org.springframework
- spring-webmvc
- 2.0.2
- true
-
-
-
- log4j
- log4j
- 1.2.13
- runtime
- true
-
-
-
- com.cenqua.clover
- clover
- 1.3.12
- test
-
-
- easymock
- easymock
- 2.2
- test
-
-
- org.springframework
- spring-mock
- 2.0.2
- test
-
-
+
+
+ 4.0.0
+ org.springframework
+ spring-webflow
+ jar
+ Spring Web Flow
+ 1.0.2-SNAPSHOT
+ Spring Web Flow
+ http://www.springframework.org
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
+
+ scm:svn:https://svn.sourceforge.net/svnroot/springframework/spring-projects
+ scm:svn:https://svn.sourceforge.net/svnroot/springframework/spring-projects
+ 1.0.2
+ http://svn.sourceforge.net/viewcvs.cgi/springframework/spring-projects
+
+
+ Spring Framework
+ http://www.springframework.org/
+
+
+
+
+ commons-logging
+ commons-logging
+ 1.0.4
+
+
+ concurrent
+ concurrent
+ 1.3.4
+ true
+
+
+ javax.portlet
+ portlet-api
+ 1.0
+ provided
+
+
+ javax.servlet
+ servlet-api
+ 2.4
+ provided
+
+
+ junit
+ junit
+ 3.8.1
+ true
+
+
+ ognl
+ ognl
+ 2.6.9
+
+
+ org.apache.myfaces.core
+ myfaces-api
+ 1.1.4
+ provided
+
+
+ org.apache.myfaces.core
+ myfaces-impl
+ 1.1.4
+ true
+
+
+ struts
+ struts
+ 1.2.9
+ true
+
+
+
+ org.springframework
+ spring-beans
+ 2.0.2
+
+
+ org.springframework
+ spring-binding
+ ${project.version}
+
+
+ org.springframework
+ spring-context
+ 2.0.2
+
+
+ org.springframework
+ spring-core
+ 2.0.2
+
+
+ org.springframework
+ spring-portlet
+ 2.0.2
+ true
+
+
+ org.springframework
+ spring-struts
+ 2.0.2
+ true
+
+
+ org.springframework
+ spring-web
+ 2.0.2
+
+
+ org.springframework
+ spring-webmvc
+ 2.0.2
+ true
+
+
+
+ log4j
+ log4j
+ 1.2.13
+ runtime
+ true
+
+
+
+ com.cenqua.clover
+ clover
+ 1.3.12
+ test
+
+
+ easymock
+ easymock
+ 2.2
+ test
+
+
+ org.springframework
+ spring-mock
+ 2.0.2
+ test
+
+
\ No newline at end of file
diff --git a/spring-webflow/readme.txt b/spring-webflow/readme.txt
index a43370d7..5c6c12e4 100644
--- a/spring-webflow/readme.txt
+++ b/spring-webflow/readme.txt
@@ -52,8 +52,8 @@ optional, i.e. just necessary for certain functionality.
* spring-webflow-1.0.jar
- Contents: The Spring Web Flow system
- Dependencies: Commons Logging, spring-beans, spring-core, spring-context, spring-web, spring-binding, OGNL
- [Log4J, Commons Codec, Xerces, XML APIs, spring-webmvc, spring-mock, JUnit, Servlet API,
- Portlet API, JMX, Struts, JSF]
+ [Log4J, Xerces, XML APIs, spring-webmvc, spring-mock, JUnit, Servlet API, Portlet API, JMX,
+ Struts, JSF]
* spring-binding-1.0.jar
- Contents: The Spring Data Binding framework, an internal library used by SWF
diff --git a/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/ClientContinuationFlowExecutionRepository.java b/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/ClientContinuationFlowExecutionRepository.java
index 52b624c9..715eb3db 100644
--- a/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/ClientContinuationFlowExecutionRepository.java
+++ b/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/ClientContinuationFlowExecutionRepository.java
@@ -17,7 +17,6 @@ package org.springframework.webflow.execution.repository.continuation;
import java.io.Serializable;
-import org.apache.commons.codec.binary.Base64;
import org.springframework.util.Assert;
import org.springframework.webflow.conversation.Conversation;
import org.springframework.webflow.conversation.ConversationException;
@@ -31,6 +30,7 @@ import org.springframework.webflow.execution.repository.FlowExecutionKey;
import org.springframework.webflow.execution.repository.FlowExecutionRestorationFailureException;
import org.springframework.webflow.execution.repository.support.AbstractConversationFlowExecutionRepository;
import org.springframework.webflow.execution.repository.support.FlowExecutionStateRestorer;
+import org.springframework.webflow.util.Base64;
/**
* Stores flow execution state client side, requiring no use of server-side
@@ -63,10 +63,6 @@ import org.springframework.webflow.execution.repository.support.FlowExecutionSta
* {@link #encode(FlowExecution)} and {@link #decode(String)}, implementing
* them with a secure encoding/decoding algorithm, e.g. based on public/private
* key encryption.
- *
- * This class depends on the Jakarta Commons Codec library to do
- * BASE64 encoding. Codec code must be available in the classpath
- * when using this implementation.
*
* @see Base64
*
@@ -171,7 +167,7 @@ public class ClientContinuationFlowExecutionRepository extends AbstractConversat
*/
protected Serializable encode(FlowExecution flowExecution) {
FlowExecutionContinuation continuation = continuationFactory.createContinuation(flowExecution);
- return new String(Base64.encodeBase64(continuation.toByteArray()));
+ return new Base64(true).encodeToString(continuation.toByteArray());
}
/**
@@ -185,7 +181,7 @@ public class ClientContinuationFlowExecutionRepository extends AbstractConversat
* @return the decoded flow execution instance
*/
protected FlowExecutionContinuation decode(String encodedContinuation) {
- byte[] bytes = Base64.decodeBase64(encodedContinuation.getBytes());
+ byte[] bytes = new Base64(true).decodeFromString(encodedContinuation);
return continuationFactory.createContinuation(bytes);
}
diff --git a/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/package.html b/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/package.html
index 62dd8f40..4e44d241 100644
--- a/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/package.html
+++ b/spring-webflow/src/main/java/org/springframework/webflow/execution/repository/continuation/package.html
@@ -3,8 +3,5 @@
Implementation of continuation-based flow execution repositories.
-
-Usage of ClientContinuationFlowExecutionRepository requires Apache's commons-codec.
-