public class NTLMAuthenticationProvider extends AbstractAuthenticationProvider
Authenticator which will
replace the current authenticator, if any. It will fail if this authenticator
will be replaced by another part of the code.
Since Authenticator is a system-wide authenticator, it will
not reliably work in multi-user environments! To achieve that you have to
wrap OpenCMIS into its own class loader.| Constructor and Description |
|---|
NTLMAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getHTTPHeaders(String url)
Returns a set of HTTP headers (key-value pairs) that should be added to a
HTTP call.
|
Element |
getSOAPHeaders(Object portObject)
Returns a SOAP header that should be added to a Web Services call.
|
getBearerToken, getHandlerResolver, getHostnameVerifier, getPassword, getProxyPassword, getProxyUser, getSession, getSSLSocketFactory, getUser, putResponseHeaders, setSessionpublic Map<String,List<String>> getHTTPHeaders(String url)
AuthenticationProvidergetHTTPHeaders in interface AuthenticationProvidergetHTTPHeaders in class AbstractAuthenticationProviderurl - the URL of the HTTP callnull if no additional headers
should be setpublic Element getSOAPHeaders(Object portObject)
AuthenticationProvidergetSOAPHeaders in interface AuthenticationProvidergetSOAPHeaders in class AbstractAuthenticationProviderportObject - the port objectnull if no additional headers
should be setCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.