示例#1
0
        public void Startup()
        {
            this._needPasswd = false;
            // read in default response string

            /* StreamReader SR;
             * string lines;
             * SR = File.OpenText("new-login.dat");
             *
             * while (!SR.EndOfStream)
             * {
             *   lines = SR.ReadLine();
             *   _defaultResponse += lines;
             * }
             * SR.Close();
             * */

            this._mpasswd = EncodePassword("testpass");

            userManager = new LocalUserProfileManager(this.m_gridServer, m_simPort, m_simAddr, regionX, regionY);
            //userManager.InitUserProfiles();
            userManager.SetKeys("", "", "", "Welcome to OpenSim");
        }
示例#2
0
        public void Startup()
        {
            this._needPasswd = false;
            // read in default response string
               /* StreamReader SR;
            string lines;
            SR = File.OpenText("new-login.dat");

            while (!SR.EndOfStream)
            {
                lines = SR.ReadLine();
                _defaultResponse += lines;
            }
            SR.Close();
            * */

            this._mpasswd = EncodePassword("testpass");

            userManager = new LocalUserProfileManager(this.m_gridServer, m_simPort, m_simAddr, regionX, regionY);
            //userManager.InitUserProfiles();
            userManager.SetKeys("", "", "", "Welcome to OpenSim");
        }