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, setSession
public Map<String,List<String>> getHTTPHeaders(String url)
AuthenticationProvider
getHTTPHeaders
in interface AuthenticationProvider
getHTTPHeaders
in class AbstractAuthenticationProvider
url
- the URL of the HTTP callnull
if no additional headers
should be setpublic Element getSOAPHeaders(Object portObject)
AuthenticationProvider
getSOAPHeaders
in interface AuthenticationProvider
getSOAPHeaders
in class AbstractAuthenticationProvider
portObject
- the port objectnull
if no additional headers
should be setCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.