com.atlassian.bamboo.user.authentication
Class PasswordService

java.lang.Object
  extended by com.atlassian.bamboo.user.authentication.PasswordService

public class PasswordService
extends Object

This class encrypts password using one-way encryption.


Method Summary
static String encrypt(String password)
          Encrypts the given password
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.