|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.security.EncryptionServiceImpl
@ThreadSafe public class EncryptionServiceImpl
This class provides a simple string data encrypter
| Constructor Summary | |
|---|---|
EncryptionServiceImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
decrypt(java.lang.String data)
Set of complementary methods EncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data. |
java.lang.String |
encrypt(java.lang.String stringToEncrypt)
Set of complementary methods EncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data. |
java.lang.String |
hashPassword(java.lang.String password)
Provides a hash for the given password. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptionServiceImpl()
throws EncryptionException
EncryptionException| Method Detail |
|---|
@NotNull
public java.lang.String encrypt(@Nullable
java.lang.String stringToEncrypt)
throws EncryptionException
EncryptionServiceEncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data.
encrypt in interface EncryptionServicestringToEncrypt - string to be encrypted
EncryptionException - when encryption failed
@NotNull
public java.lang.String decrypt(@Nullable
java.lang.String data)
throws EncryptionException
EncryptionServiceEncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data.
decrypt in interface EncryptionServicedata - string to be decrypted
EncryptionException - when decryption failed
@NotNull
public java.lang.String hashPassword(@NotNull
java.lang.String password)
throws EncryptionException
EncryptionServicePasswordService#encrypt method which is probably unused at the moment.
hashPassword in interface EncryptionServicepassword - The unencrypted password.
EncryptionException - Failed to encrypt the password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||