public class UserPasswordAuthentication extends EntityPropertiesBuilder<UserPasswordAuthenticationProperties>
Constructor and Description |
---|
UserPasswordAuthentication(String username)
Specifies new username/password credentials with given git user name.
|
Modifier and Type | Method and Description |
---|---|
protected UserPasswordAuthenticationProperties |
build() |
UserPasswordAuthentication |
password(String password)
Sets password to a git server.
|
UserPasswordAuthentication |
username(String username)
Sets git user name.
|
public UserPasswordAuthentication(String username)
username
- user namepublic UserPasswordAuthentication username(String username)
public UserPasswordAuthentication password(@Nullable String password)
protected UserPasswordAuthenticationProperties build()
build
in class EntityPropertiesBuilder<UserPasswordAuthenticationProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.