The SubsystemClient.login() method has been modified to return the AccountInfo obtained from AccountClient.login().
Pushed to master under trivial rule. -- Endi S. Dewata
>From e5cebbd24bd4347fb99fedc53dd18e632478e2ee Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" <[email protected]> Date: Thu, 16 Feb 2017 06:06:37 +0100 Subject: [PATCH] Refactored SubsystemClient. The SubsystemClient.login() method has been modified to return the AccountInfo obtained from AccountClient.login(). --- base/common/src/com/netscape/certsrv/client/SubsystemClient.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/common/src/com/netscape/certsrv/client/SubsystemClient.java b/base/common/src/com/netscape/certsrv/client/SubsystemClient.java index 3d44bce416a6f9da7b9397be0adfbea2c54d01e7..0aa5c6c4634829b6eb12418997ac062cdca7938a 100644 --- a/base/common/src/com/netscape/certsrv/client/SubsystemClient.java +++ b/base/common/src/com/netscape/certsrv/client/SubsystemClient.java @@ -25,6 +25,7 @@ import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import com.netscape.certsrv.account.AccountClient; +import com.netscape.certsrv.account.AccountInfo; /** @@ -45,8 +46,8 @@ public class SubsystemClient extends Client { /** * Log in to the subsystem. */ - public void login() { - accountClient.login(); + public AccountInfo login() { + return accountClient.login(); } public boolean exists() throws Exception { -- 2.5.5
_______________________________________________ Pki-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/pki-devel
