Note: This tutorial isChuanzhi podcast Tang YangguangThe free OA project video posted by the lecturer my text version practice notes, I use this to enhance my development knowledge, if some netizens reprint, please note. Thank you.
1. An error is left over in the previous section. <s: iterator value = "# roles"> when a position is displayed on the JSP page, the position cannot be displayed. You must remove # And then click OK.
Two passwords MD5 encryption:
Import package: commons-codec.jar
In useraction, change the password setting code:
// Use the MD5 Digest (add () for the password ())
String md5digest = digestutils. md5hex ("1234 ");
Model. setpassword (md5digest );
// Use the MD5 Digest (initpassword () for the password ())
String md5digest = digestutils. md5hex ("1234 ");
User. setpassword (md5digest );
Now, the entire system management is complete, and the next section will go to the implementation of permission management.
OA project 13: user management password encryption in the system module