protected ChannelService getClientChanMgr() throws Exception {
		
		Map<String, Object> factoryName = new HashMap<String, Object>();
		factoryName.put(ChannelServiceFactory.KEY_IMPLEMENTATION_CLASS, ChannelServiceFactory.VAL_SECURE_CHANNEL_MGR);
		factoryName.put(ChannelServiceFactory.KEY_CHILD_CHANNELMGR_FACTORY, basicFactory);
		ChannelServiceFactory secureFactory = ChannelServiceFactory.createFactory(factoryName);
		
		Map<String, Object> p = new HashMap<String, Object>();
		p.put(ChannelManager.KEY_ID, "client");		
		p.put(ChannelManager.KEY_BUFFER_FACTORY, bufFactory);
		ChannelService chanMgr = secureFactory.createChannelManager(p);		
		return chanMgr;
	}