public ServiceHttpProxy getAuthHttpProxy(ClientSecurityConfiguration clientSecurityConfiguration) { if (null == _host) { BaseException e = new BaseException(this, "null == _host"); throw e; } if (null != _authHttpProxy && _authHttpProxy.Authenticator.getSecurityConfiguration() == clientSecurityConfiguration) { return _authHttpProxy; } NetworkAddress networkAddress = new NetworkAddress(_host, _port); HttpDispatcher httpDispatcher = new HttpDispatcher(networkAddress); Authenticator authenticator = new Authenticator(false, clientSecurityConfiguration); _authHttpProxy = new ServiceHttpProxy(httpDispatcher, authenticator); return _authHttpProxy; }
///////////////////////////////////////////////////////// public Authenticator(bool authInt, ClientSecurityConfiguration clientSecurityConfiguration) { _authInt = authInt; _securityConfiguration = clientSecurityConfiguration; }