Hi all I have below code which will always throws exception while i am trying to connect because my ClientAuth is true in server.xml of apach/conf.Server.xml. How can i provide clientauth info to below code using Apache api.
URL testURL = new URL("https://localhost: 443/app/AppAction.do"); HttpURLConnection conn = (HttpURLConnection) testURL.openConnection(); conn.setRequestMethod("HEAD"); conn.setInstanceFollowRedirects(false); conn.connect(); Thanks to all in advance.