Class UserCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
com.delinea.secrets.jenkins.wrapper.cred.UserCredentials
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials,com.cloudbees.plugins.credentials.common.PasswordCredentials,com.cloudbees.plugins.credentials.common.StandardCredentials,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials,com.cloudbees.plugins.credentials.common.UsernameCredentials,com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials,com.cloudbees.plugins.credentials.Credentials,ExtensionPoint,Describable<com.cloudbees.plugins.credentials.Credentials>,Serializable
public class UserCredentials
extends com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
implements com.cloudbees.plugins.credentials.common.StandardCredentials
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.HelpersNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProviderNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider -
Constructor Summary
ConstructorsConstructorDescriptionUserCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionstatic UserCredentialsThe credentials of this type with this credentialId that apply to this itemMethods inherited from class com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
getPassword, getUsername, isUsernameSecret, setUsernameSecretMethods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCodeMethods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScopeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.plugins.credentials.Credentials
forRun, getDescriptor, getScopeMethods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getIdMethods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescription
-
Constructor Details
-
UserCredentials
@DataBoundConstructor public UserCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String username, String password) throws Descriptor.FormException - Throws:
Descriptor.FormException
-
-
Method Details
-
get
The credentials of this type with this credentialId that apply to this item- Parameters:
credentialId- the id of the credentialitem- the optional item (context)- Returns:
- the credentials or
nullif no matching credentials exist
-