public static final class BasicAuthenticationScheme.Builder
extends java.lang.Object
BasicAuthenticationScheme
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BasicAuthenticationScheme . |
Modifier and Type | Method and Description |
---|---|
BasicAuthenticationScheme |
build() |
BasicAuthenticationScheme.Builder |
setPassword(java.lang.String password)
Password to authenticate with
|
BasicAuthenticationScheme.Builder |
setSchemeName(java.lang.String schemeName)
Possible values are:
BasicAuthenticationScheme.SCHEME_NAME_BASIC
Authentication scheme name |
BasicAuthenticationScheme.Builder |
setUsername(java.lang.String username)
User name to authenticate with
|
public Builder()
BasicAuthenticationScheme
.public BasicAuthenticationScheme.Builder setSchemeName(java.lang.String schemeName)
schemeName
- New value for the property.public BasicAuthenticationScheme.Builder setPassword(java.lang.String password)
password
- New value for the property.public BasicAuthenticationScheme.Builder setUsername(java.lang.String username)
username
- New value for the property.public BasicAuthenticationScheme build()