public class HttpHeaderAuthenticationProvider extends Object implements AuthenticationProvider
Constructor and Description |
---|
HttpHeaderAuthenticationProvider(String headerName)
Constructor.
|
HttpHeaderAuthenticationProvider(String headerName,
String headerValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getHeaderName() |
String |
getHeaderValue() |
void |
provideAuthentication(org.apache.http.HttpRequest request)
Called by the S-RAMP atom API client to add authentication to the
HttpRequest . |
void |
setHeaderName(String headerName) |
void |
setHeaderValue(String headerValue) |
public HttpHeaderAuthenticationProvider(String headerName)
headerName
- public void provideAuthentication(org.apache.http.HttpRequest request)
AuthenticationProvider
HttpRequest
.provideAuthentication
in interface AuthenticationProvider
public String getHeaderName()
public void setHeaderName(String headerName)
headerName
- the headerName to setpublic String getHeaderValue()
public void setHeaderValue(String headerValue)
headerValue
- the headerValue to setCopyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.