cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijayendra Bhamidipati <>
Subject Re: Review Request: Make SHA256Salt the default password encoding and authentication mechanism for cloudstack
Date Thu, 28 Mar 2013 21:34:13 GMT

Please review the changes and let me know,


From: Vijayendra Bhamidipati <<>>
Reply-To: Vijayendra Bhamidipati <<>>
Date: Tuesday, March 19, 2013 10:03 PM
To: Kelven Yang <<>>
Cc: "<>"
Vijayendra Bhamidipati <<>>
Subject: Review Request: Make SHA256Salt the default password encoding and authentication
mechanism for cloudstack

This is an automatically generated e-mail. To reply, visit:

Review request for cloudstack and Kelven Yang.
By Venkata Siva Vijayendra Bhamidipati.

Changing default password encoding mechanism from MD5 to SHA256Salted.


Manual testing done for both oss and nonoss components. Both admin and users added later are
encoded according to the scheme configured, and authenticated by the same scheme.

To change the order of the schemes, modify the following list properties in client/tomcatconf/
or client/tomcatconf/ as applicable, to the desired order:

    <property name="UserAuthenticators">
            <ref bean="SHA256SaltedUserAuthenticator"/>
            <ref bean="MD5UserAuthenticator"/>
            <ref bean="LDAPUserAuthenticator"/>
            <ref bean="PlainTextUserAuthenticator"/>

    <property name="UserPasswordEncoders">
            <ref bean="SHA256SaltedUserAuthenticator"/>
             <ref bean="MD5UserAuthenticator"/>
             <ref bean="LDAPUserAuthenticator"/>
            <ref bean="PlainTextUserAuthenticator"/>

Bugs: CS-1734

 *   api/src/org/apache/cloudstack/api/command/admin/account/ (89673ea)
 *   api/src/org/apache/cloudstack/api/command/admin/user/ (fb29e1a)
 *   api/src/org/apache/cloudstack/api/command/admin/user/ (1f31662)
 *   client/tomcatconf/ (016df0a)
 *   client/tomcatconf/ (8f8dae5)
 *   developer/developer-prefill.sql (6300d35)
 *   plugins/user-authenticators/ldap/src/com/cloud/server/auth/
 *   plugins/user-authenticators/md5/src/com/cloud/server/auth/ (026125e)
 *   plugins/user-authenticators/plain-text/src/com/cloud/server/auth/
 *   plugins/user-authenticators/sha256salted/src/com/cloud/server/auth/
 *   server/src/com/cloud/server/ (b689f93)
 *   server/src/com/cloud/user/ (b69f314)

View Diff<>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message