com.atlassian.bamboo.user.authentication
Class PasswordService
java.lang.Object
com.atlassian.bamboo.user.authentication.PasswordService
public class PasswordService
- extends Object
This class encrypts password using one-way encryption.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encrypt
public static String encrypt(String password)
throws Exception
- Encrypts the given password
- Parameters:
password
- The unencryped password.
- Returns:
- the encrypted password in UTF-8 characters
- Throws:
Exception
- Failed to encrypt the password
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.