public final class WebActivityAuthentication extends Object
Constructor and Description |
---|
WebActivityAuthentication() |
Modifier and Type | Method and Description |
---|---|
SecretBase |
getPassword()
Get the password property: Password for the PFX file or basic authentication.
|
SecretBase |
getPfx()
Get the pfx property: Base64-encoded contents of a PFX file.
|
String |
getResource()
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.
|
String |
getType()
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI).
|
String |
getUsername()
Get the username property: Web activity authentication user name for basic authentication.
|
WebActivityAuthentication |
setPassword(SecretBase password)
Set the password property: Password for the PFX file or basic authentication.
|
WebActivityAuthentication |
setPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file.
|
WebActivityAuthentication |
setResource(String resource)
Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.
|
WebActivityAuthentication |
setType(String type)
Set the type property: Web activity authentication (Basic/ClientCertificate/MSI).
|
WebActivityAuthentication |
setUsername(String username)
Set the username property: Web activity authentication user name for basic authentication.
|
public String getType()
public WebActivityAuthentication setType(String type)
type
- the type value to set.public SecretBase getPfx()
public WebActivityAuthentication setPfx(SecretBase pfx)
pfx
- the pfx value to set.public String getUsername()
public WebActivityAuthentication setUsername(String username)
username
- the username value to set.public SecretBase getPassword()
public WebActivityAuthentication setPassword(SecretBase password)
password
- the password value to set.public String getResource()
public WebActivityAuthentication setResource(String resource)
resource
- the resource value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.