public class NTLMAuthenticationProvider extends AbstractAuthenticationProvider
The combination of CMIS and NTLM is not suited for production. Choose a different authentication method!
This authentication provider sets a Authenticator which
replaces the current authenticator, if any. It will fail if this
authenticator is replaced later by another part of the code.
Since Authenticator is a system-wide authenticator, it
does not reliably work in multi-user environments! To achieve that you
have to wrap OpenCMIS into its own class loader.
This authenticator only works reliably for read operations (except queries). Write operations and queries may work for a while but will eventually fail.
| Constructor and Description |
|---|
NTLMAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getHTTPHeaders(String url) |
Element |
getSOAPHeaders(Object portObject) |
void |
setSession(BindingSession session)
Sets the
BindingSession the authentication provider lives in. |
getBearerToken, getCsrfHeader, getHandlerResolver, getHostnameVerifier, getPassword, getProxyPassword, getProxyUser, getSession, getSSLSocketFactory, getTrustManager, getUser, putResponseHeaderspublic void setSession(BindingSession session)
AbstractAuthenticationProviderBindingSession the authentication provider lives in.setSession in interface SessionAwareAuthenticationProvidersetSession in class AbstractAuthenticationProviderpublic Map<String,List<String>> getHTTPHeaders(String url)
getHTTPHeaders in interface AuthenticationProvidergetHTTPHeaders in class AbstractAuthenticationProviderpublic Element getSOAPHeaders(Object portObject)
getSOAPHeaders in interface AuthenticationProvidergetSOAPHeaders in class AbstractAuthenticationProviderCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.