[jboss-cvs] jboss-seam/examples/wiki/src/org/jboss/seam/wiki/util ...
Christian Bauer
christian.bauer at jboss.com
Wed Feb 28 13:25:08 EST 2007
User: cbauer
Date: 07/02/28 13:25:08
Modified: examples/wiki/src/org/jboss/seam/wiki/util Hash.java
Log:
Basic file attachment/image embedding support
Revision Changes Path
1.3 +2 -0 jboss-seam/examples/wiki/src/org/jboss/seam/wiki/util/Hash.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Hash.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/org/jboss/seam/wiki/util/Hash.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Hash.java 27 Feb 2007 13:21:44 -0000 1.2
+++ Hash.java 28 Feb 2007 18:25:08 -0000 1.3
@@ -4,6 +4,7 @@
import org.apache.commons.codec.binary.Hex;
import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.AutoCreate;
/**
* Not reall save, should use a random salt, prepended later on the digest.
@@ -14,6 +15,7 @@
* TODO: Make this more secure - before releasing to public and breaking all stored passwords!
*/
@Name("hashUtil")
+ at AutoCreate
public class Hash {
String hashFunction = "MD5";
String charset = "UTF-8";
More information about the jboss-cvs-commits
mailing list