[seam-commits] Seam SVN: r8932 - trunk/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Sep 10 18:20:43 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-09-10 18:20:43 -0400 (Wed, 10 Sep 2008)
New Revision: 8932

Modified:
   trunk/doc/Seam_Reference_Guide/en-US/Security.xml
Log:
Improve documentation on password hashing

Modified: trunk/doc/Seam_Reference_Guide/en-US/Security.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Security.xml	2008-09-10 21:31:57 UTC (rev 8931)
+++ trunk/doc/Seam_Reference_Guide/en-US/Security.xml	2008-09-10 22:20:43 UTC (rev 8932)
@@ -809,13 +809,18 @@
                   <para>
                     This annotation marks the field or method containing the user's password.  It allows a <literal>hash</literal>
                     algorithm to be specified for password hashing.  Possible values for <literal>hash</literal> are
-                    <literal>md5</literal> and <literal>sha</literal>.  E.g:
+                    <literal>md5</literal>, <literal>sha</literal> and <literal>none</literal>.  E.g:
+                  </para>
                     
                     <programlisting role="JAVA"><![CDATA[@UserPassword(hash = "md5")
 public String getPasswordHash() { 
   return passwordHash; 
 }]]></programlisting>
-                    
+
+                  <para>
+                    If an application requires a hash algorithm that isn't supported natively by Seam, it
+                    is possible to extend the <literal>PasswordHash</literal> component to implement other
+                    hashing algorithms.
                   </para>
                 </entry>
               </row>     




More information about the seam-commits mailing list