public interface HttpAuthentication
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HttpAuthentication.HttpNtlmAuthentication
Represents an HTTP request's NTLM based authentication.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpAuthenticationBuilder |
basic(String username,
String password)
Provides a
HttpAuthenticationBuilder already set up for basic authentication. |
static HttpAuthenticationBuilder |
builder()
Provides a
HttpAuthenticationBuilder to create instances of HttpAuthentication. |
static HttpAuthenticationBuilder |
digest(String username,
String password)
Provides a
HttpAuthenticationBuilder already set up for digest authentication. |
String |
getPassword()
The password defined.
|
HttpAuthenticationType |
getType()
The type of authentication defined.
|
String |
getUsername()
The username defined.
|
boolean |
isPreemptive()
Whether or not the authentication should be done from the first request.
|
static HttpAuthenticationBuilder.HttpNtlmAuthenticationBuilder |
ntlm(String username,
String password)
Provides a
HttpAuthenticationBuilder.HttpNtlmAuthenticationBuilder to create instances of HttpAuthentication.HttpNtlmAuthentication. |
static HttpAuthenticationBuilder builder()
HttpAuthenticationBuilder to create instances of HttpAuthentication.static HttpAuthenticationBuilder basic(String username, String password)
HttpAuthenticationBuilder already set up for basic authentication.username - the username desiredpassword - the password desiredstatic HttpAuthenticationBuilder digest(String username, String password)
HttpAuthenticationBuilder already set up for digest authentication.username - the username desiredpassword - the password desiredstatic HttpAuthenticationBuilder.HttpNtlmAuthenticationBuilder ntlm(String username, String password)
HttpAuthenticationBuilder.HttpNtlmAuthenticationBuilder to create instances of HttpAuthentication.HttpNtlmAuthentication.username - the username desiredpassword - the password desiredHttpAuthenticationType getType()
HttpAuthenticationTypeString getUsername()
String getPassword()
boolean isPreemptive()
false the request will be done awaiting a
401 response with authentication details to start the process.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.