lmConf-1.json 4.78 KB
Newer Older
1
{
Yadd's avatar
Yadd committed
2 3 4 5 6 7 8 9 10 11 12 13
  "applicationList": {
    "1sample": {
      "catname": "Sample applications",
      "test1": {
        "options": {
          "description": "A simple application displaying authenticated user",
          "display": "auto",
          "logo": "demo.png",
          "name": "Application Test 1",
          "uri": "http://test1.__DNSDOMAIN__/"
        },
        "type": "application"
14
      },
Yadd's avatar
Yadd committed
15 16 17 18 19 20 21 22 23
      "test2": {
        "options": {
          "description": "The same simple application displaying authenticated user",
          "display": "auto",
          "logo": "thumbnail.png",
          "name": "Application Test 2",
          "uri": "http://test2.__DNSDOMAIN__/"
        },
        "type": "application"
24
      },
Yadd's avatar
Yadd committed
25 26 27 28 29 30 31 32 33 34 35 36 37
      "type": "category"
    },
    "2administration": {
      "catname": "Administration",
      "manager": {
        "options": {
          "description": "Configure LemonLDAP::NG WebSSO",
          "display": "auto",
          "logo": "configure.png",
          "name": "WebSSO Manager",
          "uri": "http://manager.__DNSDOMAIN__/manager.html"
        },
        "type": "application"
38
      },
Yadd's avatar
Yadd committed
39 40 41 42 43 44 45 46 47
      "notifications": {
        "options": {
          "description": "Explore WebSSO notifications",
          "display": "auto",
          "logo": "database.png",
          "name": "Notifications explorer",
          "uri": "http://manager.__DNSDOMAIN__/notifications.html"
        },
        "type": "application"
48
      },
Yadd's avatar
Yadd committed
49 50 51 52 53 54 55 56 57
      "sessions": {
        "options": {
          "description": "Explore WebSSO sessions",
          "display": "auto",
          "logo": "database.png",
          "name": "Sessions explorer",
          "uri": "http://manager.__DNSDOMAIN__/sessions.html"
        },
        "type": "application"
58
      },
Yadd's avatar
Yadd committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
      "type": "category"
    },
    "3documentation": {
      "catname": "Documentation",
      "localdoc": {
        "options": {
          "description": "Documentation supplied with LemonLDAP::NG",
          "display": "on",
          "logo": "help.png",
          "name": "Local documentation",
          "uri": "http://manager.__DNSDOMAIN__/doc/"
        },
        "type": "application"
      },
      "officialwebsite": {
        "options": {
          "description": "Official LemonLDAP::NG Website",
          "display": "on",
          "logo": "network.png",
          "name": "Offical Website",
          "uri": "http://lemonldap-ng.org/"
        },
        "type": "application"
      },
      "type": "category"
    }
  },
  "authentication": "Demo",
  "cfgAuthor": "The LemonLDAP::NG team",
  "cfgNum": 1,
  "cfgVersion": "2.0.0",
  "cookieName": "lemonldap",
  "demoExportedVars": {
    "cn": "cn",
    "mail": "mail",
    "uid": "uid"
  },
  "domain": "__DNSDOMAIN__",
  "exportedHeaders": {
    "test1.__DNSDOMAIN__": {
      "Auth-User": "$uid"
    },
    "test2.__DNSDOMAIN__": {
      "Auth-User": "$uid"
    }
  },
  "exportedVars": {
    "UA": "HTTP_USER_AGENT"
  },
  "globalStorage": "Apache::Session::File",
  "globalStorageOptions": {
    "Directory": "__SESSIONDIR__",
    "LockDirectory": "__SESSIONDIR__/lock",
    "generateModule": "Lemonldap::NG::Common::Apache::Session::Generate::SHA256"
  },
  "groups": {},
  "localSessionStorage": "Cache::FileCache",
  "localSessionStorageOptions": {
    "cache_depth": 3,
    "cache_root": "/tmp",
    "default_expires_in": 600,
    "directory_umask": "007",
    "namespace": "lemonldap-ng-sessions"
  },
  "locationRules": {
    "manager.__DNSDOMAIN__": {
      "(?#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.__DNSDOMAIN__": {
      "^/logout": "logout_sso",
      "default": "accept"
    },
    "test2.__DNSDOMAIN__": {
      "^/logout": "logout_sso",
      "default": "accept"
    }
  },
  "loginHistoryEnabled": 1,
  "macros": {
Yadd's avatar
Typo  
Yadd committed
141
    "_whatToTrace": "$_auth eq 'SAML' ? \"$_user\\@$_idpConfKey\" : \"$_user\""
Yadd's avatar
Yadd committed
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
  },
  "mailUrl": "http://auth.__DNSDOMAIN__/resetpwd",
  "notification": 1,
  "notificationStorage": "File",
  "notificationStorageOptions": {
    "dirName": "__NOTIFICATIONDIR__"
  },
  "passwordDB": "Demo",
  "persistentStorage": "Apache::Session::File",
  "persistentStorageOptions": {
    "Directory": "__PSESSIONDIR__",
    "LockDirectory": "__PSESSIONDIR__/lock"
  },
  "portal": "http://auth.__DNSDOMAIN__/",
  "portalSkin": "bootstrap",
  "portalSkinBackground": "1280px-Cedar_Breaks_National_Monument_partially.jpg",
  "registerDB": "Demo",
  "registerUrl": "http://auth.__DNSDOMAIN__/register",
  "reloadUrls": {
    "reload.__DNSDOMAIN__": "http://reload.__DNSDOMAIN__/reload"
  },
  "securedCookie": 0,
  "sessionDataToRemember": {},
  "timeout": 72000,
  "userDB": "Same",
  "whatToTrace": "_whatToTrace"
}