public interface CustomSecret
Modifier and Type | Method and Description |
---|---|
String |
getEncryptedValue(String plainTextPassword)
Gets the encrypted value.
|
String |
getPlainText(hudson.util.Secret secret)
Get plain text password from secret.
|
String |
getPlainText(String encryptedPassword)
Gets the plain text.
|
hudson.util.Secret |
getSecret(String plainTextPassword)
Get Secret from plain text password.
|
String getEncryptedValue(String plainTextPassword)
plainTextPassword
- the plain text passwordString getPlainText(String encryptedPassword)
encryptedPassword
- the encrypted passwordString getPlainText(hudson.util.Secret secret)
secret
- secret, might be null
.null
if secret
is null.hudson.util.Secret getSecret(String plainTextPassword)
plainTextPassword
- plain text password, might be null
.null
if plainTextPassword is null.Copyright © 2016–2023. All rights reserved.