diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-06-06 16:41:02 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-06-06 22:41:48 +0200 |
commit | 7af36652d58db983a1063125271003f06e9b3fb4 (patch) | |
tree | 0893b252f4d43d8d2cd2d919f6f3aaa174ebbdf0 /base/console/src/com/netscape/admin/certsrv/connection/IConnection.java | |
parent | 6c436a1e138bab76650277a25e608e07ef256ac1 (diff) | |
download | pki-7af36652d58db983a1063125271003f06e9b3fb4.tar.gz pki-7af36652d58db983a1063125271003f06e9b3fb4.tar.xz pki-7af36652d58db983a1063125271003f06e9b3fb4.zip |
Fixed client cert auth in PKI console.
The changes in 70520762af91b5dab41415028b1a6bfe66d42628 have been
reverted since it broke client cert auth in PKI console.
The PKI console session timeout is now detected by checking for
empty server response.
https://pagure.io/dogtagpki/issue/2643
Change-Id: Id075556620bc72cabcca3f303af54570d3ca1009
Diffstat (limited to 'base/console/src/com/netscape/admin/certsrv/connection/IConnection.java')
-rw-r--r-- | base/console/src/com/netscape/admin/certsrv/connection/IConnection.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/console/src/com/netscape/admin/certsrv/connection/IConnection.java b/base/console/src/com/netscape/admin/certsrv/connection/IConnection.java index 3e4f76c1b..09e55eee2 100644 --- a/base/console/src/com/netscape/admin/certsrv/connection/IConnection.java +++ b/base/console/src/com/netscape/admin/certsrv/connection/IConnection.java @@ -17,7 +17,6 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.admin.certsrv.connection; -import java.io.IOException; import java.net.SocketException; /** @@ -34,7 +33,7 @@ public interface IConnection { /** * Send request to the server using this connection */ - public int sendRequest(String req) throws IOException; + public int sendRequest(String req) throws Exception; /** * Returns the response in byte array format |