Uses of Class
hudson.util.Secret
-
Packages that use Secret Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.util Other miscellaneous utility codejenkins.security.apitoken -
-
Uses of Secret in hudson
Methods in hudson that return Secret Modifier and Type Method Description Secret
ProxyConfiguration. getSecretPassword()
Methods in hudson with parameters of type Secret Modifier and Type Method Description FormValidation
ProxyConfiguration.DescriptorImpl. doValidateProxy(String testUrl, String name, int port, String userName, Secret password, String noProxyHost)
void
ProxyConfiguration. setSecretPassword(Secret secretPassword)
-
Uses of Secret in hudson.model
Methods in hudson.model that return Secret Modifier and Type Method Description Secret
PasswordParameterDefinition. getDefaultValueAsSecret()
Secret
PasswordParameterValue. getValue()
Constructors in hudson.model with parameters of type Secret Constructor Description PasswordParameterDefinition(String name, Secret defaultValueAsSecret, String description)
PasswordParameterValue(String name, Secret value, String description)
-
Uses of Secret in hudson.util
Methods in hudson.util that return Secret Modifier and Type Method Description static Secret
Secret. decrypt(String data)
Reverse operation ofgetEncryptedValue()
.static Secret
Secret. fromString(String data)
Attempts to treat the given string first as a cipher text, and if it doesn't work, treat the given string as the unencrypted secret value.Methods in hudson.util with parameters of type Secret Modifier and Type Method Description ArgumentListBuilder
ArgumentListBuilder. addMasked(Secret s)
static String
Secret. toString(Secret s)
Works just liketoString()
but avoids NPE when the secret is null. -
Uses of Secret in jenkins.security.apitoken
Methods in jenkins.security.apitoken with parameters of type Secret Modifier and Type Method Description void
ApiTokenStore. regenerateTokenFromLegacy(Secret newLegacyApiToken)
Remove the legacy token present and generate a new one using the given secret.void
ApiTokenStore. regenerateTokenFromLegacyIfRequired(Secret newLegacyApiToken)
Same asApiTokenStore.regenerateTokenFromLegacy(Secret)
but only applied if there is an existing legacy token.
-