CommonsDataLoader changes
Created by: zsoltii
- CommonsDataLoader support ntlm proxy authentication
- Support Hungarian government timestamps server
- NativeCommonsDataLoader
CommonsDataLoader support ntlm proxy authentication
When proxy server has only ntlm authentication type, basic password authentication is not working.
This solution atomically uses ntlm authentication type on proxy, when it needs it.
Support Hungarian government timestamps server
Hungarian timestamps server, when it does not create timestamp, it give us http reponse code 500 and content is an xml, which has the reasan. (We need to process that xml). The new CommonsDataLoaderException class has to parameter:
- http response code
- content CommonsDataLoaderException occurs when http response code not 200.
NativeCommonsDataLoader
NativeCommonsDataLoader use HttpUrlConnection.
It useful, when your application on Windows system, Internet Explorer proxy is set, proxy use Windows domain authentication (for example ntlm), your Windows system is in domain and you are logged in as domain user. When these conditions are exists, you don't need and proxy configuration, NativeCommonsDataLoader sets every proxy settings automatically. Other conditions use can uses same way as CommonsDataLoader.