com.atlassian.bamboo.user.authentication
Class PasswordService

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

Deprecated. since 4.2 use EncryptionService

@Deprecated
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)
          Deprecated. since 4.2 use EncryptionService.hashPassword(String)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encrypt

@Deprecated
public static java.lang.String encrypt(java.lang.String password)
                                throws java.lang.Exception
Deprecated. since 4.2 use EncryptionService.hashPassword(String)

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.