NamespaceSchema.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. {
  2. "definitions": {
  3. "url": {
  4. "type": "string",
  5. "pattern": "^(https?|ftp|file)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]"
  6. },
  7. "class": {
  8. "type": "string",
  9. "enum": ["ActiveDirectory",
  10. "CustomJava",
  11. "LDAP",
  12. "LDAP_AD",
  13. "LDAP_IBM",
  14. "LDAP_SUNONE",
  15. "OIDC_ADFS",
  16. "OIDC_AzureAD",
  17. "OIDC_BlueID",
  18. "OIDC_Generic",
  19. "OIDC_Google",
  20. "OIDC_OKTA",
  21. "OIDC_Ping",
  22. "OIDC_SalesForce",
  23. "OIDC_SiteMinder",
  24. "OIDC_IBMCloudId",
  25. "OIDC_MSIdentity",
  26. "SAP",
  27. "Series7",
  28. "SiteMinder",
  29. "TSP_OIDC_ADFS",
  30. "TSP_OIDC_AzureAD",
  31. "TSP_OIDC_BlueID",
  32. "TSP_OIDC_Generic",
  33. "TSP_OIDC_Google",
  34. "TSP_OIDC_OKTA",
  35. "TSP_OIDC_Ping",
  36. "TSP_OIDC_SalesForce",
  37. "TSP_OIDC_SiteMinder",
  38. "TSP_OIDC_IBMCloudId",
  39. "TSP_OIDC_MSIdentity"]
  40. },
  41. "credential": {
  42. "type": "object",
  43. "properties": {
  44. "username": {
  45. "type": "string"
  46. },
  47. "password": {
  48. "type": "string"
  49. }
  50. }
  51. }
  52. },
  53. "$schema": "http://json-schema.org/draft-04/schema#",
  54. "type": "object",
  55. "title": "The Namespace Schema",
  56. "properties": {
  57. "id": {
  58. "type": "string",
  59. "pattern": "^[^:]+$"
  60. },
  61. "name": {
  62. "type": "string"
  63. },
  64. "identityProviderType": {
  65. "type": "string",
  66. "title": "The Provider Type",
  67. "default": "OIDC-Generic",
  68. "pattern": "^[a-zA-z0-9-_]+$"
  69. },
  70. "selectableForAuth": {
  71. "type": "boolean",
  72. "title": "",
  73. "default": true
  74. },
  75. "claimName": {
  76. "type": "string",
  77. "title": "",
  78. "default": "",
  79. "pattern": "^(.*)$"
  80. },
  81. "trustedEnvName": {
  82. "type": "string",
  83. "title": "",
  84. "default": "REMOTE_USER",
  85. "pattern": "^(.*)$"
  86. },
  87. "redirectNsID": {
  88. "type": "string",
  89. "title": "",
  90. "default": "",
  91. "pattern": "^(.*)$"
  92. },
  93. "useDiscoveryEndpoint": {
  94. "type": "boolean",
  95. "title": "",
  96. "default": true
  97. },
  98. "clientId": {
  99. "type": "string",
  100. "title": "",
  101. "default": "clientid",
  102. "pattern": "^(.*)$"
  103. },
  104. "returnUrl": {
  105. "$ref": "#/definitions/url"
  106. },
  107. "authScope": {
  108. "type": "string",
  109. "title": "",
  110. "default": "openid",
  111. "pattern": "^.*openid.*$"
  112. },
  113. "accountClaims": {
  114. "type": "string",
  115. "title": "",
  116. "default": "token",
  117. "enum": ["token",
  118. "userinfo"]
  119. },
  120. "tokenEndpointAuth": {
  121. "type": "string",
  122. "title": "",
  123. "default": "client_secret_post",
  124. "enum": ["client_secret_basic",
  125. "client_secret_post",
  126. "private_key_jwt"]
  127. },
  128. "clientSecret": {
  129. "type": "string"
  130. },
  131. "privateKeyFile": {
  132. "type": "string"
  133. },
  134. "privateKeyPassword": {
  135. "type": "string"
  136. },
  137. "privateKeyId": {
  138. "type": "string"
  139. },
  140. "keyLocation": {
  141. "type": "string",
  142. "title": "Key Location",
  143. "default": "jwks_uri",
  144. "enum": ["jwks_uri",
  145. "file"]
  146. },
  147. "idpCertificateFile": {
  148. "type": "string"
  149. },
  150. "jwksEndpint": {
  151. "$ref": "#/definitions/url"
  152. },
  153. "pgStrategy": {
  154. "type": "string",
  155. "title": "",
  156. "default": "idToken",
  157. "enum": ["idToken",
  158. "idTokenUserinfo",
  159. "unsupported",
  160. "userinfo"]
  161. },
  162. "pgInclScope": {
  163. "type": "boolean",
  164. "title": "",
  165. "default": true
  166. },
  167. "pgAddParams": {
  168. "type": "string",
  169. "pattern": "(^&.*)?"
  170. },
  171. "tcStrategy": {
  172. "type": "string",
  173. "title": "",
  174. "default": "credentials",
  175. "enum": ["credentials",
  176. "credentialsAndToken",
  177. "token",
  178. "refreshToken"]
  179. },
  180. "tcAccountClaims": {
  181. "type": "string",
  182. "title": "",
  183. "default": "id_token",
  184. "enum": ["id_token",
  185. "userinfo"]
  186. },
  187. "oidcDiscEndpoint": {
  188. "$ref": "#/definitions/url"
  189. },
  190. "issuer": {
  191. "type": "string"
  192. },
  193. "oidcTokenEndpoint": {
  194. "$ref": "#/definitions/url"
  195. },
  196. "oidcAuthEndpoint": {
  197. "$ref": "#/definitions/url"
  198. },
  199. "advancedProperties": {
  200. "type": "object"
  201. },
  202. "class": {
  203. "$ref": "#/definitions/class"
  204. },
  205. "connection": {
  206. "type": "string",
  207. "title": "The host and port",
  208. "default": "",
  209. "pattern": "^.*:[0-9]{1,5}"
  210. },
  211. "baseDN": {
  212. "type": "string"
  213. },
  214. "userLookup": {
  215. "type": "string"
  216. },
  217. "useExternalIdentity": {
  218. "type": "boolean",
  219. "default": false
  220. },
  221. "externalIdentityMapping": {
  222. "type": "string"
  223. },
  224. "bindCredentials": {
  225. "$ref": "#/definitions/credential"
  226. },
  227. "sizeLimit": {
  228. "type": "integer",
  229. "default": -1
  230. },
  231. "timeOut": {
  232. "type": "integer",
  233. "default": -1
  234. },
  235. "useBindCredentialsForSearch": {
  236. "type": "boolean",
  237. "default": false
  238. },
  239. "allowEmptyPswd": {
  240. "type": "boolean",
  241. "default": false
  242. },
  243. "camidAttribute": {
  244. "type": "string"
  245. },
  246. "dataEncoding": {
  247. "type": "string",
  248. "default": "UTF-8"
  249. },
  250. "sslCertificateDatabase": {
  251. "type": "string"
  252. },
  253. "tenantIdMapping": {
  254. "type": "object"
  255. },
  256. "tenantBoundingSetMapping": {
  257. "type": "object"
  258. },
  259. "folderObjectClass": {
  260. "type": "string",
  261. "default": "organizationalUnit"
  262. },
  263. "folderDescription": {
  264. "type": "string",
  265. "default": "description"
  266. },
  267. "folderName": {
  268. "type": "string",
  269. "default": "ou"
  270. },
  271. "groupObjectClass": {
  272. "type": "string",
  273. "default": "groupOfUniqueNames"
  274. },
  275. "groupDescription": {
  276. "type": "string",
  277. "default": "description"
  278. },
  279. "groupMembers": {
  280. "type": "string",
  281. "default": "uniqemember"
  282. },
  283. "groupName": {
  284. "type": "string",
  285. "default": "cn"
  286. },
  287. "accountObjectClass": {
  288. "type": "string",
  289. "default": "inetOrgPerson"
  290. },
  291. "accountBusinessPhone": {
  292. "type": "string",
  293. "default": "telephonenumber"
  294. },
  295. "accountContentLocale": {
  296. "type": "string",
  297. "default": "preferredlanguage"
  298. },
  299. "accountDescription": {
  300. "type": "string",
  301. "default": "description"
  302. },
  303. "accountEmail": {
  304. "type": "string",
  305. "default": "mail"
  306. },
  307. "accountFaxPhone": {
  308. "type": "string",
  309. "default": "facsimiletelephonenumber"
  310. },
  311. "accountGivenName": {
  312. "type": "string",
  313. "default": "givenname"
  314. },
  315. "accountHomePhone": {
  316. "type": "string",
  317. "default": "homephone"
  318. },
  319. "accountMobilePhone": {
  320. "type": "string",
  321. "default": "mobile"
  322. },
  323. "accountName": {
  324. "type": "string",
  325. "default": "cn"
  326. },
  327. "accountPagerPhone": {
  328. "type": "string",
  329. "default": "pager"
  330. },
  331. "accountPassword": {
  332. "type": "string",
  333. "default": "userPassword"
  334. },
  335. "accountPostalAddress": {
  336. "type": "string",
  337. "default": "postaladdress"
  338. },
  339. "accountProductLocale": {
  340. "type": "string",
  341. "default": "preferredlanguage"
  342. },
  343. "accountSurname": {
  344. "type": "string",
  345. "default": "sn"
  346. },
  347. "accountUserName": {
  348. "type": "string",
  349. "default": "uid"
  350. },
  351. "customProperties": {
  352. "type": "object"
  353. },
  354. "authModule": {
  355. "type": "string",
  356. "description": "Name of CJAP Java Class"
  357. }
  358. }
  359. }