mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
Fixes from audit
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@882 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
5a7cdb1b12
commit
3ca83d3b2e
@ -388,7 +388,7 @@ public final class DavGatewayHttpClientFacade {
|
||||
// do not follow redirects in expired sessions
|
||||
method.setFollowRedirects(followRedirects);
|
||||
int status = httpClient.executeMethod(method);
|
||||
if (status == HttpStatus.SC_UNAUTHORIZED & !hasNTLM(httpClient)) {
|
||||
if (status == HttpStatus.SC_UNAUTHORIZED && !hasNTLM(httpClient)) {
|
||||
method.releaseConnection();
|
||||
LOGGER.debug("Received unauthorized at " + method.getURI() + ", retrying with NTLM");
|
||||
addNTLM(httpClient);
|
||||
|
@ -27,7 +27,7 @@ import java.io.ByteArrayInputStream;
|
||||
/**
|
||||
* Add the SunPKCS11 Provider.
|
||||
*/
|
||||
public class SunPKCS11ProviderHandler {
|
||||
public final class SunPKCS11ProviderHandler {
|
||||
|
||||
private SunPKCS11ProviderHandler() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user