def __init__(self, addr, delegate=None, keyfile=None, certfile=None,
                 ca_certs=None, base_name=None):
        # ca_certs arg here must be a file of concatenated certs
        if ca_certs is None:
            raise Exception('Missing CA Certs')
        elif not os.path.isfile(os.path.expanduser(ca_certs)):
            raise Exception('CA Certs must be an existing file of accepted root certs: %s' % ca_certs)

#        self._server = SecureXMLRPCServer(addr, keyfile=keyfile,
#                                          certfile=certfile, ca_certs=ca_certs)
        from SimpleXMLRPCServer import SimpleXMLRPCRequestHandler
        self._server = SecureXMLRPCServer(addr, requestHandler=SimpleXMLRPCRequestHandler)
        if not hasattr(self._server, 'pem_cert'):
            self._server.pem_cert = None
        if delegate is None:
            delegate = PrintingAggregateManager()
        self._server.register_instance(AggregateManager(delegate))
        # Set the server on the delegate so it can access the
        # client certificate.
        delegate._server = self._server
        
        if not base_name is None:
            global RESOURCE_NAMESPACE
            RESOURCE_NAMESPACE = base_name
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/ext/geni/am.py/AggregateManagerServer.__init__/original