Beispiel #1
0
        public override void Configure(IConfigSectionNode node)
        {
            base.Configure(node);

            var email = node.AttrByName(CONFIG_EMAIL_ATTR).Value;
            var cred  = new NOPCredentials(email);
            var at    = new AuthenticationToken(NOP_REALM, email);

            User = new User(cred, at, email, Rights.None);
        }
    public override void Configure(IConfigSectionNode node)
    {
      base.Configure(node);

      var email = node.AttrByName(CONFIG_EMAIL_ATTR).Value;
      var cred = new NOPCredentials(email);
      var at = new AuthenticationToken(NOP_REALM, email);

      User = new User(cred, at, email, Rights.None);
    }