NamespaceSchema.json 6.4 KB

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