cloudstack/utils
Rohit Yadav 0b94f254e8 CLOUDSTACK-8034: Hash user IDs for SAML authentication
The User table's UUID column is restricted to 40 chars only, since we don't
know how long the nameID/userID of a SAML authenticated user will be - the fix
hashes that user ID and takes a substring of length 40 chars. For hashing,
SHA256 is used which returns a 64 char length string.

- Fix tests, add test cases
- Improve checkSAMLUser method
- Use SHA256 one way hashing to create unique UUID for SAML users

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b2b496288d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-12 13:37:51 +05:30
..
bindir fixing utils license header 2012-06-06 23:06:02 -04:00
certs Update fail-safe keystore with RSA private key 2011-07-25 18:55:16 -07:00
conf Fixup the license headers in the utils project. All files now use the same license header and this is enforced by the maven-license-check plugin. 2014-02-18 12:08:36 +01:00
src CLOUDSTACK-8034: Hash user IDs for SAML authentication 2015-01-12 13:37:51 +05:30
test CLOUDSTACK-8034: Hash user IDs for SAML authentication 2015-01-12 13:37:51 +05:30
pom.xml Validate IPv4 address using Apache Commons Validator 2014-11-24 14:43:48 +01:00