All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.myproxy.oa4mp-server-admin-oauth2.4.3.source-code.temp3.json Maven / Gradle / Ivy

The newest version!
{
"config": "LSST client 2 configuration, created by Jeff Gaynor 9/8/2018",
"claims":   {
  "sourceConfig":     [
    {"ldap":       {
      "preProcessing": {"$xor":         [
                  {
          "$if": [{"$hasClaim": ["eppn"]}],
          "$then": [{"$set":             [
            "voPersonExternalID",
            {"$get": ["eppn"]}
          ]}]
        },
                  {
          "$if": [{"$hasClaim": ["eptid"]}],
          "$then": [{"$set":             [
            "voPersonExternalID",
            {"$get": ["eptid"]}
          ]}]
        },
                  {
          "$if": [{"$equals":             [
            {"$get": ["idp"]},
            "http://github.com/login/oauth/authorize"
          ]}],
          "$then": [{"$set":             [
            "voPersonExternalID",
            {"$concat":               [
              {"$get": ["oidc"]},
              "@github.com"
            ]}
          ]}]
        },
                  {
          "$if": [{"$equals":             [
            {"$get": ["idp"]},
            "http://google.com/accounts/o8/id"
          ]}],
          "$then": [{"$set":             [
            "voPersonExternalID",
            {"$concat":               [
              {"$get": ["oidc"]},
              "@accounts.google.com"
            ]}
          ]}]
        },
                  {
          "$if": [{"$equals":             [
            {"$get": ["idp"]},
            "http://orcid.org/oauth/authorize"
          ]}],
          "$then": [{"$set":             [
            "voPersonExternalID",
            {"$replace":               [
              {"$get": ["oidc"]},
              "http://",
              "https://"
            ]}
          ]}]
        }
      ]},
      "failOnError": "false",
      "address": "ldap.ncsa.illinois.edu",
      "port": 636,
      "enabled": "true",
      "authorizationType": "none",
      "searchName": "voPersonExternalID",
      "searchFilterAttribute": "voPersonExternalID",
      "searchAttributes": [        {
        "name": "uid",
        "returnAsList": false,
        "returnName": "uid"
      }],
      "searchBase": "ou=People,dc=ncsa,dc=illinois,dc=edu",
      "contextName": "",
      "ssl":         {
        "tlsVersion": "TLS",
        "useJavaTrustStore": true
      },
      "name": "3258ed63b62d1a78"
    }},
    {"ldap":       {
      "id": "58a170bfe4a59c05",
      "name": "58a170bfe4a59c05",
      "address": "ldap.ncsa.illinois.edu",
      "port": 636,
      "enabled": true,
      "authorizationType": "none",
      "failOnError": false,
      "notifyOnFail": false,
      "searchAttributes":         [
                  {
          "name": "mail",
          "returnAsList": false,
          "returnName": "email"
 },
                  {
          "name": "cn",
          "returnAsList": false,
          "returnName": "name"
        },
                  {
          "name": "uidNumber",
          "returnAsList": false,
          "returnName": "uidNumber"
        },
                  {
          "name": "uid",
          "returnAsList": false,
          "returnName": "uid"
        },
                  {
          "name": "memberOf",
          "isGroup": true,
          "returnAsList": false,
          "returnName": "isMemberOf"
        }
      ],
      "searchBase": "ou=People,dc=ncsa,dc=illinois,dc=edu",
      "searchName": "uid",
      "searchFilterAttribute": "uid",
      "contextName": "",
      "ssl":         {
        "keystore": {},
        "tlsVersion": "TLS",
        "useJavaTrustStore": true,
        "password": "changeit",
        "type": "jks"
      }
    }}
  ],
  "preProcessing": [    {
    "$if": ["$true"],
    "$then":       [
      {"$set_claim_source":         [
        "LDAP",
        "3258ed63b62d1a78"
      ]},
      {"$set_claim_source":         [
        "LDAP",
        "58a170bfe4a59c05"
      ]}
    ]
  }]
},
"isSaved": true
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy