Uses of Class
hudson.util.Secret
Packages that use Secret
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins.Other miscellaneous utility code
-
Uses of Secret in hudson
Modifier and TypeMethodDescriptionProxyConfiguration.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 SecretModifier and TypeMethodDescriptionPasswordParameterDefinition.getDefaultValueAsSecret()PasswordParameterValue.getValue()Constructors in hudson.model with parameters of type SecretModifierConstructorDescriptionPasswordParameterDefinition(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 SecretModifier and TypeMethodDescriptionstatic SecretReverse 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 SecretModifier and TypeMethodDescriptionstatic StringWorks 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 SecretModifier and TypeMethodDescriptionvoidApiTokenStore.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.