/// <summary>
        /// Initializes the node manager.
        /// </summary>
        public UserAuthenticationNodeManager(IServerInternal server, ApplicationConfiguration configuration)
        :
            base(server, Namespaces.UserAuthentication)
        {
            SystemContext.NodeIdFactory = this;

            // get the configuration for the node manager.
            m_configuration = configuration.ParseExtension<UserAuthenticationServerConfiguration>();

            // use suitable defaults if no configuration exists.
            if (m_configuration == null)
            {
                m_configuration = new UserAuthenticationServerConfiguration();
            }
        }
예제 #2
0
        /// <summary>
        /// Initializes the node manager.
        /// </summary>
        public UserAuthenticationNodeManager(IServerInternal server, ApplicationConfiguration configuration)
            :
            base(server, Namespaces.UserAuthentication)
        {
            SystemContext.NodeIdFactory = this;

            // get the configuration for the node manager.
            m_configuration = configuration.ParseExtension <UserAuthenticationServerConfiguration>();

            // use suitable defaults if no configuration exists.
            if (m_configuration == null)
            {
                m_configuration = new UserAuthenticationServerConfiguration();
            }
        }