[Statelessfilter-commits] SF.net SVN: statelessfilter:[88] trunk
Status: Beta
Brought to you by:
nricheton
|
From: <nri...@us...> - 2011-12-22 15:29:25
|
Revision: 88
http://statelessfilter.svn.sourceforge.net/statelessfilter/?rev=88&view=rev
Author: nricheton
Date: 2011-12-22 15:29:19 +0000 (Thu, 22 Dec 2011)
Log Message:
-----------
Javadoc
Modified Paths:
--------------
trunk/stateless-cookie-aes/src/main/java/net/sourceforge/statelessfilter/backend/aescookie/AESCookieBackend.java
trunk/stateless-cookie-aes-json/src/main/java/net/sourceforge/statelessfilter/backend/jsonaescookie/JSONAESCookieBackend.java
Modified: trunk/stateless-cookie-aes/src/main/java/net/sourceforge/statelessfilter/backend/aescookie/AESCookieBackend.java
===================================================================
--- trunk/stateless-cookie-aes/src/main/java/net/sourceforge/statelessfilter/backend/aescookie/AESCookieBackend.java 2011-12-22 15:21:26 UTC (rev 87)
+++ trunk/stateless-cookie-aes/src/main/java/net/sourceforge/statelessfilter/backend/aescookie/AESCookieBackend.java 2011-12-22 15:29:19 UTC (rev 88)
@@ -27,9 +27,7 @@
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
-import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
-import javax.crypto.IllegalBlockSizeException;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
@@ -46,8 +44,8 @@
import org.slf4j.LoggerFactory;
/**
- * Backend based on an uncrypted cookie. Can be used for non sensitive data.
- * Cookie can be compressed to save bandwidth.
+ * Backend based on an AES-encrypted cookie. Cookie can be compressed to save
+ * bandwidth.
*
* <p>
* Parameters :
@@ -110,6 +108,8 @@
}
/**
+ * Loads key and iv for encryption and performs normal init.
+ *
* @throws Exception
* @see com.capgemini.stateless.backend.plaincookie.ISessionBackend#init(java.util.Map)
*/
Modified: trunk/stateless-cookie-aes-json/src/main/java/net/sourceforge/statelessfilter/backend/jsonaescookie/JSONAESCookieBackend.java
===================================================================
--- trunk/stateless-cookie-aes-json/src/main/java/net/sourceforge/statelessfilter/backend/jsonaescookie/JSONAESCookieBackend.java 2011-12-22 15:21:26 UTC (rev 87)
+++ trunk/stateless-cookie-aes-json/src/main/java/net/sourceforge/statelessfilter/backend/jsonaescookie/JSONAESCookieBackend.java 2011-12-22 15:29:19 UTC (rev 88)
@@ -19,9 +19,7 @@
import java.util.List;
import java.util.Map;
-import javax.crypto.BadPaddingException;
import javax.crypto.Cipher;
-import javax.crypto.IllegalBlockSizeException;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
@@ -39,8 +37,8 @@
import org.slf4j.LoggerFactory;
/**
- * Backend based on an uncrypted cookie. Can be used for non sensitive data.
- * Cookie can be compressed to save bandwidth.
+ * Backend based on an AES-encrypted cookie. Cookie can be compressed to save
+ * bandwidth.
*
* <p>
* Parameters :
@@ -103,6 +101,8 @@
}
/**
+ * Loads key and iv for encryption and performs normal init.
+ *
* @throws Exception
* @see com.capgemini.stateless.backend.plaincookie.ISessionBackend#init(java.util.Map)
*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|