public bool isReloginException(BClient ignored, Exception ex, int typeId) { if (log.isDebugEnabled()) { log.debug("isReloginException(ex=" + ex + ", typeId=" + typeId); } bool ret = false; if (innerAuth != null) { if (log.isDebugEnabled()) { log.debug("innerAuth.isReloginException"); } ret = innerAuth.isReloginException(client, ex, typeId); } else { if (log.isDebugEnabled()) { log.debug("transport.isReloginException"); } ret = client.getTransport().isReloginException(ex, typeId); } if (log.isDebugEnabled()) { log.debug(")isReloginException=" + ret); } return(ret); }
public void authenticate(BClient ignored, BAsyncResult <bool> asyncResult) { if (log.isDebugEnabled()) { log.debug("authenticate("); } BAsyncResultIF <bool> outerResult = new MyNegoAsyncResult(client, asyncResult); if (innerAuth != null) { if (log.isDebugEnabled()) { log.debug("innerAuth.authenticate"); } innerAuth.authenticate(client, BAsyncResultHelper.ToDelegate(outerResult)); } else { if (log.isDebugEnabled()) { log.debug("return true"); } outerResult.setAsyncResult(true, null); } if (log.isDebugEnabled()) { log.debug(")authenticate"); } }
public void getSession(BClient ignored, int typeId, BAsyncResult <Object> asyncResult) { if (innerAuth != null) { innerAuth.getSession(client, typeId, asyncResult); if (log.isDebugEnabled()) { log.debug("innerAuth.getSession()"); } } else { asyncResult(null, null); } }
public ClientAuthentication(BClient client, BAuthentication innerAuth) { this.client = client; this.innerAuth = innerAuth; }
public MyNegoAsyncResult(BClient client, BAsyncResult <bool> innerResult) { this.client = client; this.innerResult = innerResult; }
public BClient createClientR(BClient client) { return(null); }
public BServer(BServer rhs) { this.transport = rhs.transport; this.clientR = rhs.clientR; this.remotes = rhs.remotes; }
public BServer(BTransport transport, BClient clientR) { this.transport = transport; this.clientR = clientR; this.remotes = new Dictionary <int, BRemote>(); }