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 SecretProxyConfiguration. getSecretPassword()Methods in hudson with parameters of type Secret Modifier and Type Method Description FormValidationProxyConfiguration.DescriptorImpl. doValidateProxy(String testUrl, String name, int port, String userName, Secret password, String noProxyHost)voidProxyConfiguration. setSecretPassword(Secret secretPassword) -
Uses of Secret in hudson.model
Methods in hudson.model that return Secret Modifier and Type Method Description SecretPasswordParameterDefinition. getDefaultValueAsSecret()SecretPasswordParameterValue. 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 SecretSecret. decrypt(String data)Reverse operation ofgetEncryptedValue().static SecretSecret. 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 ArgumentListBuilderArgumentListBuilder. addMasked(Secret s)static StringSecret. 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 voidApiTokenStore. regenerateTokenFromLegacy(Secret newLegacyApiToken)Remove the legacy token present and generate a new one using the given secret.voidApiTokenStore. regenerateTokenFromLegacyIfRequired(Secret newLegacyApiToken)Same asApiTokenStore.regenerateTokenFromLegacy(Secret)but only applied if there is an existing legacy token.
-