lmConf-1.json 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
  "authentication": "Demo",
  "cfgAuthor": "The LemonLDAP::NG team",
  "cfgAuthorIP": "127.0.0.1",
  "cfgDate": 1428138808,
  "cfgLog": "Handler test conf",
  "cfgNum": "1",
  "cookieName": "lemonldap",
  "demoExportedVars": {
    "cn": "cn",
    "mail": "mail",
    "uid": "uid"
  },
  "domain": "example.com",
  "exportedHeaders": {
    "test1.example.com": {
      "Auth-User": "$uid"
    },
    "test2.example.com": {
      "Auth-User": "$uid"
21 22 23
    },
    "*.example.org": {
      "Auth-User": "$uid"
24 25 26 27 28 29
    }
  },
  "exportedVars": {
  },
  "globalStorage": "Apache::Session::File",
  "globalStorageOptions": {
Xavier Guimard's avatar
Xavier Guimard committed
30 31
    "Directory": "t/sessions",
    "LockDirectory": "t/sessions/lock",
32 33 34 35 36 37 38 39 40 41 42 43 44
    "generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
  },
  "groups": {},
  "key": "qwertyui",
  "locationRules": {
    "manager.example.com": {
      "(?#Configuration)^/(manager\\.html|conf/)": "$uid eq \"dwho\"",
      "(?#Notifications)^/notifications": "$uid eq \"dwho\" or $uid eq \"rtyler\"",
      "(?#Sessions)^/sessions": "$uid eq \"dwho\" or $uid eq \"rtyler\"",
      "default": "$uid eq \"dwho\""
    },
    "test1.example.com": {
      "^/logout": "logout_sso",
Xavier Guimard's avatar
Xavier Guimard committed
45
      "^/deny": "deny",
46 47 48 49 50
      "default": "accept"
    },
    "test2.example.com": {
      "^/logout": "logout_sso",
      "default": "accept"
51 52 53 54
    },
    "*.example.org": {
      "^/orgdeny": "deny",
      "default": "accept"
55 56 57 58 59 60 61 62 63 64
    }
  },
  "macros": {
    "_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\""
  },
  "portal": "http://auth.example.com/",
  "reloadUrls": {},
  "userDB": "Demo",
  "whatToTrace": "_whatToTrace"
}