Beispiel #1
0
 public LsaServer(RpceServerTransport rpceServer)
 {
     contextManager  = new LsaContextManager();
     rpceLayerServer = rpceServer;
     rpceLayerServer.RegisterInterface(
         LsaUtility.LSA_RPC_INTERFACE_UUID,
         LsaUtility.LSA_RPC_INTERFACE_MAJOR_VERSION,
         LsaUtility.LSA_RPC_INTERFACE_MINOR_VERSION);
 }
Beispiel #2
0
 public LsaServer(RpceSecurityContextCreatingEventHandler rpceServerSecurityContextCreator)
 {
     contextManager  = new LsaContextManager();
     rpceLayerServer = new RpceServerTransport();
     rpceLayerServer.RegisterInterface(
         LsaUtility.LSA_RPC_INTERFACE_UUID,
         LsaUtility.LSA_RPC_INTERFACE_MAJOR_VERSION,
         LsaUtility.LSA_RPC_INTERFACE_MINOR_VERSION);
     rpceLayerServer.SetSecurityContextCreator(rpceServerSecurityContextCreator);
 }