Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.