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
ConstructorDescriptionUserPasswordAuthentication
(String username) Specifies new username/password credentials with given git user name. -
Method Summary
Modifier and TypeMethodDescriptionprotected UserPasswordAuthenticationProperties
build()
Sets password to a git server.Sets git user name.
-
Constructor Details
-
UserPasswordAuthentication
Specifies new username/password credentials with given git user name.- Parameters:
username
- user name
-
-
Method Details
-
username
Sets git user name. -
password
Sets password to a git server. The password can be both in Bamboo encrypted and plain form.- See Also:
-
build
- Specified by:
build
in classEntityPropertiesBuilder<UserPasswordAuthenticationProperties>
-