Class UserPasswordAuthentication
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<UserPasswordAuthenticationProperties>
-
- com.atlassian.bamboo.specs.builders.repository.git.UserPasswordAuthentication
-
public class UserPasswordAuthentication extends EntityPropertiesBuilder<UserPasswordAuthenticationProperties>
User name/password authentication method for git repository.
-
-
Constructor Summary
Constructors Constructor Description UserPasswordAuthentication(java.lang.String username)Specifies new username/password credentials with given git user name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserPasswordAuthenticationPropertiesbuild()UserPasswordAuthenticationpassword(@Nullable java.lang.String password)Sets password to a git server.UserPasswordAuthenticationusername(java.lang.String username)Sets git user name.
-
-
-
Method Detail
-
username
public UserPasswordAuthentication username(java.lang.String username)
Sets git user name.
-
password
public UserPasswordAuthentication password(@Nullable @Nullable java.lang.String password)
Sets password to a git server. The password can be both in Bamboo encrypted and plain form.- See Also:
- Encryption in Bamboo Specs
-
build
protected UserPasswordAuthenticationProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<UserPasswordAuthenticationProperties>
-
-