com.atlassian.bamboo.user.authentication
Class PasswordService

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

public class PasswordService
extends java.lang.Object

This class encrypts password using one-way encryption.


Method Summary
static java.lang.String encrypt(java.lang.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 java.lang.String encrypt(java.lang.String password)
                                throws java.lang.Exception
Encrypts the given password

Parameters:
password - The unencryped password.
Returns:
the encrypted password in UTF-8 characters
Throws:
java.lang.Exception - Failed to encrypt the password


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.