lmConf-1.json 2.28 KB
Newer Older
Xavier Guimard's avatar
Xavier Guimard committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{
  "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"
    }
  },
  "exportedVars": {
24 25
    "mail": "mail",
    "cn": "cn"
Xavier Guimard's avatar
Xavier Guimard committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
  },
  "globalStorage": "Apache::Session::File",
  "globalStorageOptions": {
    "Directory": "t/sessions",
    "LockDirectory": "t/sessions/lock",
    "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",
      "^/deny": "deny",
      "default": "accept"
    },
    "test2.example.com": {
      "^/logout": "logout_sso",
      "default": "accept"
    }
  },
  "macros": {
    "_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\""
  },
Xavier Guimard's avatar
Xavier Guimard committed
55
  "notifications": 0,
56
  "passwordDB": "Null",
Xavier Guimard's avatar
Xavier Guimard committed
57
  "portal": "http://auth.example.com/",
58
  "portalDisplayResetPassword": 0,
Xavier Guimard's avatar
Xavier Guimard committed
59 60 61 62 63 64
  "casStorage": "Apache::Session::File",
  "casStorageOptions": {
    "Directory": "t/sessions/saml",
    "LockDirectory": "t/sessions/saml/lock",
    "generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
  },
Xavier Guimard's avatar
Xavier Guimard committed
65 66
  "samlStorage": "Apache::Session::File",
  "samlStorageOptions": {
Xavier Guimard's avatar
Xavier Guimard committed
67 68
    "Directory": "t/sessions/saml",
    "LockDirectory": "t/sessions/saml/lock",
Xavier Guimard's avatar
Xavier Guimard committed
69 70
    "generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
  },
Xavier Guimard's avatar
Xavier Guimard committed
71 72 73 74 75 76
  "oidcStorage": "Apache::Session::File",
  "oidcStorageOptions": {
    "Directory": "t/sessions/saml",
    "LockDirectory": "t/sessions/saml/lock",
    "generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
  },
Xavier Guimard's avatar
Xavier Guimard committed
77
  "reloadUrls": {},
78
  "requireToken": 0,
79
  "userDB": "Same",
Xavier Guimard's avatar
Xavier Guimard committed
80 81
  "whatToTrace": "_whatToTrace"
}