@Target(value=TYPE) @Retention(value=SOURCE) @Documented public @interface HttpBasicAuth
BasicAuthUsername
and BasicAuthPassword
.
Using the default values for headerName()
and prefix()
, if the user agent wishes to send the userid
"Aladdin" and password "open sesame", it would use the following header field:
Modifier and Type | Required Element and Description |
---|---|
String |
friendlyName
Provides a friendly name for the strategy.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
configElementName
Name of the configuration element
|
String |
headerName
Name of the header that will contain the username and password encoded in Base64
|
String |
prefix
Prefix that will be used be used before the username and password encoded into base64.
|
public abstract String friendlyName
public abstract String configElementName
public abstract String headerName
public abstract String prefix
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.