From b3895e007391dd067cfcb98b95d078022eab3cd7 Mon Sep 17 00:00:00 2001 From: Madhumita Date: Wed, 16 Nov 2022 21:07:48 +0530 Subject: [PATCH] fix: #2666 --- .../database/mysql-schema-ERdiagram.md | 328 +++++ .../database/mysql-schema-indexes.md | 358 +++++ docs/admin/reference/database/mysql-schema.md | 1207 ++++++++++++----- 3 files changed, 1573 insertions(+), 320 deletions(-) create mode 100644 docs/admin/reference/database/mysql-schema-ERdiagram.md create mode 100644 docs/admin/reference/database/mysql-schema-indexes.md diff --git a/docs/admin/reference/database/mysql-schema-ERdiagram.md b/docs/admin/reference/database/mysql-schema-ERdiagram.md new file mode 100644 index 00000000000..02d146768e6 --- /dev/null +++ b/docs/admin/reference/database/mysql-schema-ERdiagram.md @@ -0,0 +1,328 @@ +--- +tags: + - administration + - reference + - database +--- + + +```mermaid +erDiagram + jansAppConf { + string doc_id PK "" + string ou "casa,jans-conf-api,jans-scim, jans-fido2" + string jansConfDyn "json configuration for the app" + } + + jansPerson { + string doc_id PK "eg - username1 username2" + string dn "eg: inum=username1,ou=person,o=jans" + string displayName + string inum + string memberOf FK "JSON array of dn from jansGrp" + string mail + string uid + string userPassword + string jansAdminUIRole FK "...." + } +jansPerson ||--o{ jansGrp: belongs-to +jansGrp ||--o{ jansPerson : contains + +jansGrp { + string doc_id PK "60B7" + string dn "inum=60B7,ou=groups,o=jans" + string displayName + string member FK "json array of dn from jansPerson" + string inum "inum=60B7" + string owner FK "dn from jansPerson" + +} + +jansCustomScr { + string doc_id PK "eg : 031C-4A65" + string dn "inum=031C-4A65, ou=script,o=jans" + string inum "same as doc_id" + string displayName + string jansScr "the entire script content" + string jansScrType "person_authentication,update_token" + boolean jansEnabled "0/1" +} + +jansScr { + string doc_id PK + string dn + string inum + string jansScr + string jansScrTyp +} +jansFido2AuthnEntry { + string doc_id PK + string dn + string jansId + datetime creationDate + string jansSessStateId + string jansCodeChallenge + string personInum FK "inum from jansPerson" + string jansAuthData + string jansStatus + string jansCodeChallengeHash +} +jansPerson ||--o{ jansFido2AuthnEntry : contains +jansFido2RegistrationEntry { + string doc_id PK + string dn + string jansId + datetime creationDate + string displayName + string jansSessStateId + string jansCodeChallenge + string jansCodeChallengeHash + string jansPublicKeyId + string personInum FK "inum from jansPerson" + string jansRegistrationData + string jansDeviceNotificationConf + string jansCounter + string jansStatus + +} +jansPerson ||--o{ jansFido2RegistrationEntry : contains + +jansClnt { + string doc_id PK "fd46d193-bca6-4343-b49f-6e0b020197c3" + string dn "inum=fd46d193-bca6-4343-b49f-6e0b020197c3,ou=clients,o=jans" + string displayName "some name" + string inum "same as doc_id" + string jansScope FK "json array containing inum values from jansScope" + string jansClaim FK "json array containing inum from jansAttr" +} +jansClnt ||--o{ jansScope : contains +jansClnt ||--o{ jansSectorIdentifier : contains + +jansClnt ||--o{ jansAttr : contains + +jansClntAuthz ||--|{ jansClnt : linked-with +jansClntAuthz ||--|{ jansPerson : linked-with +jansClntAuthz ||--|{ jansScope : linked-with + + + +jansClntAuthz{ + string doc_id PK "86ff3d19-4885-4f36-b536-17efcc802a27_2000.efad6d0e-c17b-4694-aedf-b322d10476ce" + string dn "jansId=86ff3d19-4885-4f36-b536-17efcc802a27_2000.efad6d0e-c17b-4694-aedf-b322d10476ce,ou=authorizations,o=jans" + string jansId "same as docId" + string jansClntId FK "JSON array of 1 or more client-s doc_id" + string jansUserId FK "doc_id from jansPerson" + string jansScope FK "JSON array of 1 or more scopes from jansScope" +} +jansScope{ + string doc_id PK "1200.ABCB46" + string dn "inum=1200.ABCB46,ou=scope,o=jans" + string displayName + string inum "same as doc_id" + string jansScopeTyp "openid, oauth" + string jansClaim FK "JSON array of 0 or more inums from jansAttr" +} +jansScope ||--o{ jansAttr : mapped-to + +jansAttr{ + string doc_id PK "11AA" + string dn "inum=11AA,ou=attributes,o=jans" + string displayName + string jansAttrName + string inum "same as doc_id" + +} +jansCache { + string doc_id PK "7934d59de2bd01746b7" + string uuid "same as doc_id" + string dn "uuid=7934d59de...,ou=cache,o=jans" + string dat "rO0ABXNyAB......." +} +jansSectorIdentifier{ + +} +jansCibaReq{ + string doc_id PK + string dn + string authReqId FK "" + string clnId FK "" + + string usrId FK "doc_id from jansPerson" + datetime creationDate + datetime exp + string jansStatus "active or inactive" + +} + +jansToken ||--o{ jansClnt : mapped-to + +jansToken{ + string doc_id PK + string dn + string usrId FK "doc_id from jansPerson" + string ssnId FK "" + string uuid + string tknCde + string clnId FK "JSOn array containing dn of jansClnt" + } + +jansUmaPCT { + string doc_id PK + + string dn + string clnId FK "json array of multiple inums from jansClnt" + string iat + string tknCde FK "" + string ssnId FK + string jansClaimValues FK "" + string dpop + string authzCode + string grtId FK "... from jansGrant" + string grtTyp + string jwtReq + string nnc + string scp FK "" + string tknTyp + string usrId FK "doc_id from jansPerson" + string jansUsrDN FK "dn from jansPerson" + strin acr + string uuid + string chlng + string chlngMth + string clms + string attr FK "" + string tknBndCnf + + +} +jansUmaRPT { +string doc_id PK + string dn + string clnId FK "" + string tknCde FK "" + string usrId FK "doc_id from jansPerson" + string ssnId FK "" + string jansUmaPermission FK "" + string uuid + string dpop + string authzCode + string grtId FK "" + string grtTyp FK "" + string jwtReq + string nnc + string scp FK "" + string tknTyp + string jansUsrDN FK "doc_id from jansPerson" + string acr + string chlng + string chlngMth + string clms FK "" + string attr FK "" + string tknBndCnf +} +jansUmaResource { + string doc_id PK + string objectClass + string dn + string displayName + string inum + string owner FK "" + string jansAssociatedClnt FK "" + string jansUmaScope FK "" + string jansFaviconImage + string jansGrp FK "" + string jansId + string jansResource + string jansRevision + string jansTyp + string jansScopeExpression + string description + +} +jansUmaResourcePermission { + string doc_id PK + string dn + string exp + string del + string jansUmaScope + string jansConfCode + string jansResourceSetId + string jansAttrs + string jansTicket + string jansStatus + +} + +jansGrant { + string doc_id PK + string dn + string grtId +} +jansPerson ||--o{ jansSessId : has +jansSessId ||--|{ jansClnt : associated-with +jansSessId { + string doc_id PK + string objectClass + string dn + string jansId + string sid + string creationDate + string jansUsrDN FK "dn from jansPerson" + string authnTime + string jansState + string jansSessState + string jansPermissionGranted + string jansAsJwt + string jansJwt + string jansPermissionGrantedMap + string jansInvolvedClnts FK "" + string jansSessAttr + +} +jansClnt ||--o{ jansSectorIdentifer : contains +jansPairwiseIdentifier }o--|| jansPerson : linked-with + +jansSectorIdentifer { + string doc_id PK + string objectClass + string dn + string jansId + string description + string jansRedirectURI + string jansClntId FK "json array of multiple inums from jansClnt" + +} + +jansPairwiseIdentifier{ + string doc_id PK + string objectClass + string dn + string jansId + string jansSectorIdentifier FK "" + string jansClntId FK "json array of multiple inums from jansClnt" + string jansUsrId FK "doc_id from jansPerson" +} + + +jansAdminConfDyn { + +} +jansStatEntry{ + +} +jansDeviceRegistration{} +jansInumMap{} +jansMetric{} +jansPar{} +jansPassResetReq{} +jansPushApp{} +jansPushDevice{} +jansRp{} +rpExpiredObject{} +jansAgama{} + + + + + +``` diff --git a/docs/admin/reference/database/mysql-schema-indexes.md b/docs/admin/reference/database/mysql-schema-indexes.md new file mode 100644 index 00000000000..e82f7eaf6da --- /dev/null +++ b/docs/admin/reference/database/mysql-schema-indexes.md @@ -0,0 +1,358 @@ +--- +tags: + - administration + - reference + - database + - Indexes +--- + +## Indexes + +### agmFlow + +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| agmFlow | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| agmFlow | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + + +### agmFlowRun +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| agmFlowRun | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| agmFlowRun | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansAdminConfDyn +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansAdminConfDyn | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansAdminConfDyn | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | + + + +### jansAppConf +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansAppConf | 0 | PRIMARY | 1 | doc_id | A | 5 | NULL | NULL | | BTREE | | | YES | NULL | +| jansAppConf | 0 | doc_id | 1 | doc_id | A | 5 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansAttr +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansAttr | 0 | PRIMARY | 1 | doc_id | A | 71 | NULL | NULL | | BTREE | | | YES | NULL | +| jansAttr | 0 | doc_id | 1 | doc_id | A | 71 | NULL | NULL | | BTREE | | | YES | NULL | +| jansAttr | 1 | jansAttr_description | 1 | description | A | 70 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansAttr | 1 | jansAttr_displayName | 1 | displayName | A | 71 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansAttr | 1 | jansAttr_jansAttrName | 1 | jansAttrName | A | 71 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansAttr | 1 | jansAttr_jansAttrOrigin | 1 | jansAttrOrigin | A | 3 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansAttr | 1 | jansAttr_inum | 1 | inum | A | 71 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansCache +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansCache | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCache | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCache | 1 | jansCache_CustomIdx1 | 1 | del | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansCache | 1 | jansCache_CustomIdx1 | 2 | exp | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansCibaReq +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansCibaReq | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCibaReq | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCibaReq | 1 | jansCibaReq_CustomIdx1 | 1 | jansStatus | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansCibaReq | 1 | jansCibaReq_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansCibaReq | 1 | clnId_json_1 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v\') as char(128) array) | +| jansCibaReq | 1 | clnId_json_2 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansCibaReq | 1 | clnId_json_3 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansCibaReq | 1 | clnId_json_4 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | + +### jansClnt +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansClnt | 0 | PRIMARY | 1 | doc_id | A | 3 | NULL | NULL | | BTREE | | | YES | NULL | +| jansClnt | 0 | doc_id | 1 | doc_id | A | 3 | NULL | NULL | | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_displayName | 1 | displayName | A | 3 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_description | 1 | description | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_inum | 1 | inum | A | 3 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_jansClntSecretExpAt | 1 | jansClntSecretExpAt | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_jansRegistrationAccessTkn | 1 | jansRegistrationAccessTkn | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_CustomIdx1 | 1 | del | A | 2 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClnt | 1 | jansClnt_CustomIdx1 | 2 | exp | A | 2 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansClntAuthz +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansClntAuthz | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansClntAuthz | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansClntAuthz | 1 | jansClntAuthz_jansUsrId | 1 | jansUsrId | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClntAuthz | 1 | jansClntAuthz_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClntAuthz | 1 | jansClntAuthz_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansClntAuthz | 1 | jansClntId_json_1 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansClntId`,_utf8mb4\'$.v\') as char(128) array) | +| jansClntAuthz | 1 | jansClntId_json_2 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansClntId`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansClntAuthz | 1 | jansClntId_json_3 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansClntId`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansClntAuthz | 1 | jansClntId_json_4 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansClntId`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | + +### jansCustomScr +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansCustomScr | 0 | PRIMARY | 1 | doc_id | A | 26 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCustomScr | 0 | doc_id | 1 | doc_id | A | 27 | NULL | NULL | | BTREE | | | YES | NULL | +| jansCustomScr | 1 | jansCustomScr_inum | 1 | inum | A | 27 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansCustomScr | 1 | jansCustomScr_jansScrTyp | 1 | jansScrTyp | A | 19 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansDeviceRegistration +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansDeviceRegistration | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansDeviceRegistration | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_jansDeviceKeyHandle | 1 | jansDeviceKeyHandle | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_jansDeviceHashCode | 1 | jansDeviceHashCode | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_jansApp | 1 | jansApp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_jansStatus | 1 | jansStatus | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_personInum | 1 | personInum | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_creationDate | 1 | creationDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansDeviceRegistration | 1 | jansDeviceRegistration_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansDocument +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansDocument | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansDocument | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansFido2AuthnEntry +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansFido2AuthnEntry | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansFido2AuthnEntry | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansFido2AuthnEntry | 1 | jansFido2AuthnEntry_creationDate | 1 | creationDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansFido2AuthnEntry | 1 | jansFido2AuthnEntry_personInum | 1 | personInum | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansFido2AuthnEntry | 1 | jansFido2AuthnEntry_jansStatus | 1 | jansStatus | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansFido2RegistrationEntry +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansFido2RegistrationEntry | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansFido2RegistrationEntry | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansFido2RegistrationEntry | 1 | jansFido2RegistrationEntry_creationDate | 1 | creationDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansFido2RegistrationEntry | 1 | jansFido2RegistrationEntry_personInum | 1 | personInum | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansFido2RegistrationEntry | 1 | jansFido2RegistrationEntry_jansStatus | 1 | jansStatus | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + + +### jansGrant +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansGrant | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansGrant | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansGrp +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansGrp | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansGrp | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansGrp | 1 | jansGrp_description | 1 | description | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansGrp | 1 | jansGrp_displayName | 1 | displayName | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansGrp | 1 | jansGrp_inum | 1 | inum | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | + + +### jansInumMap +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansInumMap | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansInumMap | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansInumMap | 1 | jansInumMap_jansStatus | 1 | jansStatus | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansInumMap | 1 | jansInumMap_inum | 1 | inum | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansMetric +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansMetric | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansMetric | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_jansStartDate | 1 | jansStartDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_jansEndDate | 1 | jansEndDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_jansAppTyp | 1 | jansAppTyp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_jansMetricTyp | 1 | jansMetricTyp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansMetric | 1 | jansMetric_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansOrganization +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansOrganization | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansOrganization | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansOrganization | 1 | jansOrganization_uid | 1 | uid | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansPairwiseIdentifier +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPairwiseIdentifier | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPairwiseIdentifier | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansPar +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPar | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPar | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPar | 1 | jansPar_jansId | 1 | jansId | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPar | 1 | jansPar_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPar | 1 | jansPar_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansPassResetReq +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPassResetReq | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPassResetReq | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPassResetReq | 1 | jansPassResetReq_creationDate | 1 | creationDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansPerson + +`show index from jansPerson;` + +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPerson | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL| +| jansPerson | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_displayName | 1 | displayName | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_givenName | 1 | givenName | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_inum | 1 | inum | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_mail | 1 | mail | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_sn | 1 | sn | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansPerson_uid | 1 | uid | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansPerson | 1 | jansExtUid_json_1 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansExtUid`,_utf8mb4\'$.v\') as char(128) array) | +| jansPerson | 1 | jansExtUid_json_2 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansExtUid`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansPerson | 1 | jansExtUid_json_3 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansExtUid`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansPerson | 1 | jansExtUid_json_4 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`jansExtUid`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | +| jansPerson | 1 | jansPerson_CustomIdx1 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | lower(`uid`) | +| jansPerson | 1 | jansPerson_CustomIdx2 | 1 | NULL | A | 1 | NULL | NULL | YES | BTREE | | | YES | lower(`mail`) | + + +### jansPushApp +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPushApp | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPushApp | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansPushDevice +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansPushDevice | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansPushDevice | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + + +### jansRp +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansRp | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansRp | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansScope +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansScope | 0 | PRIMARY | 1 | doc_id | A | 65 | NULL | NULL | | BTREE | | | YES | NULL | +| jansScope | 0 | doc_id | 1 | doc_id | A | 65 | NULL | NULL | | BTREE | | | YES | NULL | +| jansScope | 1 | jansScope_description | 1 | description | A | 65 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansScope | 1 | jansScope_displayName | 1 | displayName | A | 65 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansScope | 1 | jansScope_jansId | 1 | jansId | A | 65 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansScope | 1 | jansScope_CustomIdx1 | 1 | del | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansScope | 1 | jansScope_CustomIdx1 | 2 | exp | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansScr +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansScr | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansScr | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansSectorIdentifier +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansSectorIdentifier | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansSectorIdentifier | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansSessId +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansSessId | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansSessId | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansSessId | 1 | jansSessId_sid | 1 | sid | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansSessId | 1 | jansSessId_jansUsrDN | 1 | jansUsrDN | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansSessId | 1 | jansSessId_deviceSecret | 1 | deviceSecret | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansSessId | 1 | jansSessId_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansSessId | 1 | jansSessId_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + + +### jansSsa +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansSsa | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansSsa | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | + +### jansStatEntry +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansStatEntry | 0 | PRIMARY | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansStatEntry | 0 | doc_id | 1 | doc_id | A | 1 | NULL | NULL | | BTREE | | | YES | NULL | +| jansStatEntry | 1 | jansStatEntry_jansId | 1 | jansId | A | 1 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansToken +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansToken | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansToken | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansToken | 1 | jansToken_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansToken | 1 | jansToken_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansToken | 1 | clnId_json_1 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v\') as char(128) array) | +| jansToken | 1 | clnId_json_2 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansToken | 1 | clnId_json_3 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansToken | 1 | clnId_json_4 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | + +### jansU2fReq +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansU2fReq | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansU2fReq | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansU2fReq | 1 | jansU2fReq_creationDate | 1 | creationDate | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansU2fReq | 1 | jansU2fReq_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansU2fReq | 1 | jansU2fReq_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansUmaPCT +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansUmaPCT | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaPCT | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaPCT | 1 | jansUmaPCT_tknCde | 1 | tknCde | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaPCT | 1 | jansUmaPCT_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaPCT | 1 | jansUmaPCT_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaPCT | 1 | clnId_json_1 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v\') as char(128) array) | +| jansUmaPCT | 1 | clnId_json_2 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansUmaPCT | 1 | clnId_json_3 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansUmaPCT | 1 | clnId_json_4 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | + +### jansUmaRPT +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansUmaRPT | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaRPT | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaRPT | 1 | clnId_json_1 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v\') as char(128) array) | +| jansUmaRPT | 1 | clnId_json_2 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[0]\') as char(128) charset utf8mb4) | +| jansUmaRPT | 1 | clnId_json_3 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[1]\') as char(128) charset utf8mb4) | +| jansUmaRPT | 1 | clnId_json_4 | 1 | NULL | A | 0 | NULL | NULL | YES | BTREE | | | YES | cast(json_extract(`clnId`,_utf8mb4\'$.v[2]\') as char(128) charset utf8mb4) | + +### jansUmaResource +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansUmaResource | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaResource | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaResource | 1 | jansUmaResource_displayName | 1 | displayName | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaResource | 1 | jansUmaResource_jansUmaScope | 1 | jansUmaScope | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaResource | 1 | jansUmaResource_jansId | 1 | jansId | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaResource | 1 | jansUmaResource_CustomIdx1 | 1 | del | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | +| jansUmaResource | 1 | jansUmaResource_CustomIdx1 | 2 | exp | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + +### jansUmaResourcePermission +|Table | Non_unique | Key_name| Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Visible | Expression | +|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| +| jansUmaResourcePermission | 0 | PRIMARY | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaResourcePermission | 0 | doc_id | 1 | doc_id | A | 0 | NULL | NULL | | BTREE | | | YES | NULL | +| jansUmaResourcePermission | 1 | jansUmaResourcePermission_jansTicket | 1 | jansTicket | A | 0 | NULL | NULL | YES | BTREE | | | YES | NULL | + \ No newline at end of file diff --git a/docs/admin/reference/database/mysql-schema.md b/docs/admin/reference/database/mysql-schema.md index 02d146768e6..531022b3416 100644 --- a/docs/admin/reference/database/mysql-schema.md +++ b/docs/admin/reference/database/mysql-schema.md @@ -5,324 +5,891 @@ tags: - database --- +## Tables + +| Table names | +|-| +| agmFlow | +| agmFlowRun | +| jansAdminConfDyn | +| jansAppConf | +| jansAttr | +| jansCache | +| jansCibaReq | +| jansClnt | +| jansClntAuthz | +| jansCustomScr | +| jansDeviceRegistration | +| jansDocument | +| jansFido2AuthnEntry | +| jansFido2RegistrationEntry | +| jansGrant | +| jansGrp | +| jansInumMap | +| jansMetric | +| jansOrganization | +| jansPairwiseIdentifier | +| jansPar | +| jansPassResetReq | +| jansPerson | +| jansPushApp | +| jansPushDevice | +| jansRp | +| jansScope | +| jansScr | +| jansSectorIdentifier | +| jansSessId | +| jansSsa | +| jansStatEntry | +| jansToken | +| jansU2fReq | +| jansUmaPCT | +| jansUmaRPT | +| jansUmaResource | +| jansUmaResourcePermission | + +### agmFlow + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| agFlowQname | varchar(64) | YES | | NULL | | +| agFlowMeta | text | YES | | NULL | | +| jansScr | text | YES | | NULL | | +| jansEnabled | smallint | YES | | NULL | | +| jansScrError | text | YES | | NULL | | +| agFlowTrans | text | YES | | NULL | | +| jansRevision | int | YES | | NULL | | +| jansCustomMessage | varchar(128) | YES | | NULL | | + +### agmFlowRun + + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| agFlowSt | text | YES | | NULL | | +| agFlowEncCont | mediumtext | YES | | NULL | | +| jansCustomMessage | varchar(128) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | + +### jansAdminConfDyn + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| c | varchar(2) | YES | | NULL | | +| ou | varchar(64) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| jansConfDyn | text | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansRevision | int | YES | | NULL | | + +### jansAppConf + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| c | varchar(2) | YES | | NULL | | +| ou | varchar(64) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| jansHostname | varchar(64) | YES | | NULL | | +| jansLastUpd | datetime(3) | YES | | NULL | | +| jansManager | varchar(64) | YES | | NULL | | +| jansOrgProfileMgt | smallint | YES | | NULL | | +| jansScimEnabled | smallint | YES | | NULL | | +| jansEmail | json | YES | | NULL | | +| jansSmtpConf | json | YES | | NULL | | +| jansSslExpiry | varchar(64) | YES | | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | +| jansUrl | varchar(64) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansAuthMode | varchar(64) | YES | | NULL | | +| jansDbAuth | json | YES | | NULL | | +| jansLogViewerConfig | varchar(64) | YES | | NULL | | +| jansLogConfigLocation | varchar(64) | YES | | NULL | | +| jansCacheConf | text | YES | | NULL | | +| jansDocStoreConf | text | YES | | NULL | | +| jansSoftVer | varchar(64) | YES | | NULL | | +| userPassword | varchar(256) | YES | | NULL | | +| jansConfDyn | text | YES | | NULL | | +| jansConfErrors | text | YES | | NULL | | +| jansConfStatic | text | YES | | NULL | | +| jansConfWebKeys | text | YES | | NULL | | +| jansWebKeysSettings | varchar(64) | YES | | NULL | | +| jansConfApp | text | YES | | NULL | | +| jansRevision | int | YES | | NULL | | + + +### jansAttr + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| description | varchar(768) | YES | MUL | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| jansAttrEditTyp | json | YES | | NULL | | +| jansAttrName | varchar(64) | YES | MUL | NULL | | +| jansAttrOrigin | varchar(64) | YES | MUL | NULL | | +| jansAttrSystemEditTyp | varchar(64) | YES | | NULL | | +| jansAttrTyp | varchar(64) | YES | | NULL | | +| jansClaimName | varchar(64) | YES | | NULL | | +| jansAttrUsgTyp | varchar(64) | YES | | NULL | | +| jansAttrViewTyp | json | YES | | NULL | | +| jansSAML1URI | varchar(64) | YES | | NULL | | +| jansSAML2URI | varchar(64) | YES | | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| jansMultivaluedAttr | smallint | YES | | NULL | | +| jansHideOnDiscovery | smallint | YES | | NULL | | +| jansNameIdTyp | varchar(64) | YES | | NULL | | +| jansScimCustomAttr | smallint | YES | | NULL | | +| jansSourceAttr | varchar(64) | YES | | NULL | | +| seeAlso | varchar(64) | YES | | NULL | | +| urn | varchar(128) | YES | | NULL | | +| jansRegExp | varchar(64) | YES | | NULL | | +| jansTooltip | varchar(64) | YES | | NULL | | +| jansValidation | tinytext | YES | | NULL | | + + +### jansCache + +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| uuid | varchar(64) | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| dat | text | YES | | NULL | | + +### jansCibaReq +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| authReqId | varchar(64) | YES | | NULL | | +| clnId | json | YES | | NULL | | +| usrId | varchar(64) | YES | | NULL | | +| creationDate | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| jansStatus | varchar(16) | YES | MUL | NULL | | + +### jansClnt +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +|doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansGrp | varchar(64) | YES | | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| displayNameLocalized | json | YES | | NULL | | +| description | varchar(768) | YES | MUL | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| jansAppTyp | varchar(64) | YES | | NULL | | +| jansClntIdIssuedAt | datetime(3) | YES | | NULL | | +| jansClntSecret | varchar(64) | YES | | NULL | | +| jansClntSecretExpAt | datetime(3) | YES | MUL | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| jansClntURI | tinytext | YES | | NULL | | +| jansClntURILocalized | json | YES | | NULL | | +| jansContact | json | YES | | NULL | | +| jansDefAcrValues | json | YES | | NULL | | +| jansDefMaxAge | int | YES | | NULL | | +| jansGrantTyp | json | YES | | NULL | | +| jansIdTknEncRespAlg | varchar(64) | YES | | NULL | | +| jansIdTknEncRespEnc | varchar(64) | YES | | NULL | | +| jansIdTknSignedRespAlg | varchar(64) | YES | | NULL | | +| jansInitiateLoginURI | tinytext | YES | | NULL | | +| jansJwksURI | tinytext | YES | | NULL | | +| jansJwks | text | YES | | NULL | | +| jansLogoURI | tinytext | YES | | NULL | | +| jansLogoURILocalized | json | YES | | NULL | | +| jansPolicyURI | tinytext | YES | | NULL | | +| jansPolicyURILocalized +| jansPostLogoutRedirectURI | json | YES | | NULL | | +| jansRedirectURI | json | YES | | NULL | | +| jansRegistrationAccessTkn | varchar(64) | YES | MUL | NULL | | +| jansReqObjSigAlg | varchar(64) | YES | | NULL | | +| jansReqObjEncAlg | varchar(64) | YES | | NULL | | +| jansReqObjEncEnc | varchar(64) | YES | | NULL | | +| jansReqURI | json | YES | | NULL | | +| jansRespTyp | json | YES | | NULL | | +| jansScope | json | YES | | NULL | | +| jansClaim | json | YES | | NULL | | +| jansSectorIdentifierURI | tinytext | YES | | NULL | | +| jansSignedRespAlg | varchar(64) | YES | | NULL | | +| jansSubjectTyp | varchar(64) | YES | | NULL | | +| jansTknEndpointAuthMethod | varchar(64) | YES | | NULL | | +| jansTknEndpointAuthSigAlg | varchar(64) | YES | | NULL | | +| jansTosURI | tinytext | YES | | NULL | | +| jansTosURILocalized | json | YES | | NULL | | +| jansTrustedClnt | smallint | YES | | NULL | | +| jansUsrInfEncRespAlg | varchar(64) | YES | | NULL | | +| jansUsrInfEncRespEnc | varchar(64) | YES | | NULL | | +| jansExtraConf | varchar(64) | YES | | NULL | | +| jansClaimRedirectURI | json | YES | | NULL | | +| jansLastAccessTime | datetime(3) | YES | | NULL | | +| jansLastLogonTime | datetime(3) | YES | | NULL | | +| jansPersistClntAuthzs | smallint | YES | | NULL | | +| jansInclClaimsInIdTkn | smallint | YES | | NULL | | +| jansRefreshTknLife | int | YES | | NULL | | +| jansDisabled | smallint | YES | | NULL | | +| jansLogoutURI | json | YES | | NULL | | +| jansLogoutSessRequired | smallint | YES | | NULL | | +| jansdId | varchar(64) | YES | | NULL | | +| jansAuthorizedOrigins | json | YES | | NULL | | +| tknBndCnf | tinytext | YES | | NULL | | +| jansAccessTknAsJwt | smallint | YES | | NULL | | +| jansAccessTknSigAlg | varchar(64) | YES | | NULL | | +| jansAccessTknLife | int | YES | | NULL | | +| jansSoftId | varchar(64) | YES | | NULL | | +| jansSoftVer | varchar(64) | YES | | NULL | | +| jansSoftStatement | text | YES | | NULL | | +| jansRptAsJwt | smallint | YES | | NULL | | +| jansAttrs | text | YES | | NULL | | +| jansBackchannelTknDeliveryMode | varchar(64) | YES | | NULL | | +| jansBackchannelClntNotificationEndpoint | varchar(64) | YES | | NULL | | +| jansBackchannelAuthnReqSigAlg | varchar(64) | YES | | NULL | | +| jansBackchannelUsrCodeParameter | smallint | YES | | NULL | | + +### jansClntAuthz +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(100) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| jansClntId | json | YES | | NULL | | +| jansUsrId | varchar(64) | YES | MUL | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| jansScope | json | YES | | NULL | | + +### jansCustomScr +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| jansScr | text | YES | | NULL | | +| jansScrTyp | varchar(64) | YES | MUL | NULL | | +| jansProgLng | varchar(64) | YES | | NULL | | +| jansModuleProperty | json | YES | | NULL | | +| jansConfProperty | json | YES | | NULL | | +| jansLevel | int | YES | | NULL | | +| jansRevision | int | YES | | NULL | | +| jansEnabled | smallint | YES | | NULL | | +| jansScrError | text | YES | | NULL | | +| jansAlias | json | YES | | NULL | | + +### jansDeviceRegistration +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| jansDeviceKeyHandle | varchar(128) | YES | MUL | NULL | | +| jansDeviceHashCode | int | YES | MUL | NULL | | +| jansApp | varchar(64) | YES | MUL | NULL | | +| jansDeviceRegistrationConf | text | YES | | NULL | | +| jansDeviceNotificationConf | varchar(64) | YES | | NULL | | +| jansNickName | varchar(64) | YES | | NULL | | +| jansDeviceData | tinytext | YES | | NULL | | +| jansCounter | int | YES | | NULL | | +| jansStatus | varchar(16) | YES | MUL | NULL | | +| del | smallint | YES | MUL | NULL | | +| exp | datetime(3) | YES | | NULL | | +| personInum | varchar(64) | YES | MUL | NULL | | +| creationDate | datetime(3) | YES | MUL | NULL | | +| jansLastAccessTime | datetime(3) | YES | | NULL | | +| jansMetaLastMod | varchar(64) | YES | | NULL | | +| jansMetaLocation | tinytext | YES | | NULL | | +| jansMetaVer | varchar(64) | YES | | NULL | | + +### jansDocument +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| ou | varchar(64) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| document | varchar(64) | YES | | NULL | | +| creationDate | datetime(3) | YES | | NULL | | +| jansModuleProperty | json | YES | | NULL | | +| jansLevel | int | YES | | NULL | | +| jansRevision | int | YES | | NULL | | +| jansEnabled | smallint | YES | | NULL | | +| jansAlias | json | YES | | NULL | | + +### jansFido2AuthnEntry +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| creationDate | datetime(3) | YES | MUL | NULL | | +| jansSessStateId | varchar(64) | YES | | NULL | | +| jansCodeChallenge | varchar(64) | YES | | NULL | | +| personInum | varchar(64) | YES | MUL | NULL | | +| jansAuthData | text | YES | | NULL | | +| jansStatus | varchar(16) | YES | MUL | NULL | | + +### jansFido2RegistrationEntry +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| creationDate | datetime(3) | YES | MUL | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| jansSessStateId | varchar(64) | YES | | NULL | | +| jansCodeChallenge | varchar(64) | YES | | NULL | | +| jansCodeChallengeHash | int | YES | | NULL | | +| jansPublicKeyId | varchar(96) | YES | | NULL | | +| personInum | varchar(64) | YES | MUL | NULL | | +| jansRegistrationData | text | YES | | NULL | | +| jansDeviceNotificationConf | varchar(64) | YES | | NULL | | +| jansCounter | int | YES | | NULL | | +| jansStatus | varchar(16) | YES | MUL | NULL | | + +### jansGrant +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| grtId | varchar(64) | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | + +### jansGrp +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| c | varchar(2) | YES | | NULL | | +| description | varchar(768) | YES | MUL | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| member | json | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| owner | varchar(64) | YES | | NULL | | +| seeAlso | varchar(64) | YES | | NULL | | +| jansMetaCreated | varchar(64) | YES | | NULL | | +| jansMetaLastMod | varchar(64) | YES | | NULL | | +| jansMetaLocation | tinytext | YES | | NULL | | +| jansMetaVer | varchar(64) | YES | | NULL | | + +### jansInumMap +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansStatus | varchar(16) | YES | MUL | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| jansPrimaryKeyAttrName | varchar(64) | YES | | NULL | | +| jansPrimaryKeyValue | varchar(64) | YES | | NULL | | +| jansSecondaryKeyAttrName | varchar(64) | YES | | NULL | | +| jansSecondaryKeyValue | varchar(64) | YES | | NULL | | +| jansTertiaryKeyAttrName | varchar(64) | YES | | NULL | | +| jansTertiaryKeyValue | varchar(64) | YES | | NULL | | + +### jansMetric +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| uniqueIdentifier | varchar(64) | YES | | NULL | | +| jansStartDate | datetime(3) | YES | MUL | NULL | | +| jansEndDate | datetime(3) | YES | MUL | NULL | | +| jansAppTyp | varchar(64) | YES | MUL | NULL | | +| jansMetricTyp | varchar(64) | YES | MUL | NULL | | +| creationDate | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| exp | datetime(3) | YES | | NULL | | +| jansData | text | YES | | NULL | | +| jansHost | varchar(64) | YES | | NULL | | + +### jansOrganization +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| c | varchar(2) | YES | | NULL | | +| county | varchar(64) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| jansCustomMessage | varchar(128) | YES | | NULL | | +| jansFaviconImage | varchar(64) | YES | | NULL | | +| jansLogoImage | varchar(64) | YES | | NULL | | +| jansManager | varchar(64) | YES | | NULL | | +| jansManagerGrp | tinytext | YES | | NULL | | +| jansOrgShortName | varchar(64) | YES | | NULL | | +| jansThemeColor | varchar(64) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| l | varchar(64) | YES | | NULL | | +| mail | varchar(96) | YES | | NULL | | +| memberOf | json | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansCreationTimestamp | datetime(3) | YES | | NULL | | +| jansRegistrationConf | varchar(64) | YES | | NULL | | +| postalCode | varchar(16) | YES | | NULL | | +| st | varchar(64) | YES | | NULL | | +| street | tinytext | YES | | NULL | | +| telephoneNumber | varchar(20) | YES | | NULL | | +| title | varchar(64) | YES | | NULL | | +| uid | varchar(64) | YES | MUL | NULL | | +| jansLogoPath | varchar(64) | YES | | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | +| jansFaviconPath | varchar(64) | YES | | NULL | | + +### jansPairwiseIdentifier +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| jansSectorIdentifier | varchar(64) | YES | | NULL | | +| jansClntId | json | YES | | NULL | | +| jansUsrId | varchar(64) | YES | | NULL | | + +### jansPar +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | MUL | NULL | | +| jansAttrs | text | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | + +### jansPassResetReq +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| creationDate | datetime(3) | YES | MUL | NULL | | +| jansGuid | varchar(64) | YES | | NULL | | +| personInum | varchar(64) | YES | | NULL | | + +### jansPerson +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansAssociatedClnt | json | YES | | NULL | | +| c | varchar(2) | YES | | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| givenName | varchar(128) | YES | MUL | NULL | | +| jansManagedOrganizations | varchar(64) | YES | | NULL | | +| jansOptOuts | json | YES | | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | +| inum | varchar(64) | YES | MUL | NULL | | +| mail | varchar(96) | YES | MUL | NULL | | +| memberOf | json | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansPersistentJWT | varchar(64) | YES | | NULL | | +| jansCreationTimestamp | datetime(3) | YES | | NULL | | +| jansExtUid | json | YES | | NULL | | +| jansOTPCache | json | YES | | NULL | | +| jansLastLogonTime | datetime(3) | YES | | NULL | | +| jansActive | smallint | YES | | NULL | | +| jansAddres | json | YES | | NULL | | +| jansEmail | json | YES | | NULL | | +| jansEntitlements | json | YES | | NULL | | +| jansExtId | varchar(128) | YES | | NULL | | +| jansImsValue | json | YES | | NULL | | +| jansMetaCreated | varchar(64) | YES | | NULL | | +| jansMetaLastMod | varchar(64) | YES | | NULL | | +| jansMetaLocation | tinytext | YES | | NULL | | +| jansMetaVer | varchar(64) | YES | | NULL | | +| jansNameFormatted | tinytext | YES | | NULL | | +| jansPhoneValue | json | YES | | NULL | | +| jansPhotos | json | YES | | NULL | | +| jansProfileURL | varchar(256) | YES | | NULL | | +| jansRole | json | YES | | NULL | | +| jansTitle | varchar(64) | YES | | NULL | | +| jansUsrTyp | varchar(64) | YES | | NULL | | +| jansHonorificPrefix | varchar(64) | YES | | NULL | | +| jansHonorificSuffix | varchar(64) | YES | | NULL | | +| jans509Certificate | json | YES | | NULL | | +| jansPassExpDate | datetime(3) | YES | | NULL | | +| persistentId | varchar(64) | YES | | NULL | | +| middleName | varchar(64) | YES | | NULL | | +| nickname | varchar(64) | YES | | NULL | | +| jansPrefUsrName | varchar(64) | YES | | NULL | | +| profile | varchar(64) | YES | | NULL | | +| picture | tinytext | YES | | NULL | | +| website | varchar(64) | YES | | NULL | | +| emailVerified | smallint | YES | | NULL | | +| gender | varchar(32) | YES | | NULL | | +| birthdate | datetime(3) | YES | | NULL | | +| zoneinfo | varchar(64) | YES | | NULL | | +| locale | varchar(64) | YES | | NULL | | +| phoneNumberVerified | smallint | YES | | NULL | | +| address | tinytext | YES | | NULL | | +| updatedAt | datetime(3) | YES | | NULL | | +| preferredLanguage | varchar(64) | YES | | NULL | | +| role | json | YES | | NULL | | +| secretAnswer | tinytext | YES | | NULL | | +| secretQuestion | tinytext | YES | | NULL | | +| seeAlso | varchar(64) | YES | | NULL | | +| sn | varchar(128) | YES | MUL | NULL | | +| cn | varchar(128) | YES | | NULL | | +| transientId | varchar(64) | YES | | NULL | | +| uid | varchar(64) | YES | MUL | NULL | | +| userPassword | varchar(256) | YES | | NULL | | +| st | varchar(64) | YES | | NULL | | +| street | tinytext | YES | | NULL | | +| l | varchar(64) | YES | | NULL | | +| jansCountInvalidLogin | varchar(64) | YES | | NULL | | +| jansEnrollmentCode | varchar(64) | YES | | NULL | | +| jansIMAPData | varchar(64) | YES | | NULL | | +| jansPPID | json | YES | | NULL | | +| jansGuid | varchar(64) | YES | | NULL | | +| jansPreferredMethod | varchar(64) | YES | | NULL | | +| userCertificate | blob | YES | | NULL | | +| jansOTPDevices | varchar(512) | YES | | NULL | | +| jansMobileDevices | varchar(512) | YES | | NULL | | +| jansTrustedDevices | text | YES | | NULL | | +| jansStrongAuthPolicy | varchar(64) | YES | | NULL | | +| jansUnlinkedExternalUids | varchar(64) | YES | | NULL | | +| jansBackchannelDeviceRegistrationTkn | varchar(64) | YES | | NULL | | +| jansBackchannelUsrCode | varchar(64) | YES | | NULL | | +| telephoneNumber | varchar(20) | YES | | NULL | | +| mobile | json | YES | | NULL | | +| carLicense | varchar(64) | YES | | NULL | | +| facsimileTelephoneNumber | varchar(20) | YES | | NULL | | +| departmentNumber | varchar(64) | YES | | NULL | | +| employeeType | varchar(64) | YES | | NULL | | +| manager | tinytext | YES | | NULL | | +| postOfficeBox | varchar(64) | YES | | NULL | | +| employeeNumber | varchar(64) | YES | | NULL | | +| preferredDeliveryMethod | varchar(50) | YES | | NULL | | +| roomNumber | varchar(64) | YES | | NULL | | +| secretary | tinytext | YES | | NULL | | +| homePostalAddress | tinytext | YES | | NULL | | +| postalCode | varchar(16) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| title | varchar(64) | YES | | NULL | | +| jansAdminUIRole | json | YES | | NULL | | + +### jansPushApp +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| displayName | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| jansName | varchar(64) | YES | | NULL | | +| jansPushAppConf | varchar(64) | YES | | NULL | | + +### jansPushDevice +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansUsrId | varchar(64) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| jansPushApp | tinytext | YES | | NULL | | +| jansPushDeviceConf | varchar(64) | YES | | NULL | | +| jansTyp | varchar(64) | YES | | NULL | | + +### jansRp +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| dat | text | YES | | NULL | | + +### jansScope +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansDefScope | smallint | YES | | NULL | | +| description | varchar(768) | YES | MUL | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| inum | varchar(64) | YES | | NULL | | +| jansScopeTyp | varchar(64) | YES | | NULL | | +| creatorId | varchar(64) | YES | | NULL | | +| creatorTyp | varchar(64) | YES | | NULL | | +| creatorAttrs | varchar(64) | YES | | NULL | | +| creationDate | datetime(3) | YES | | NULL | | +| jansClaim | json | YES | | NULL | | +| jansScrDn | json | YES | | NULL | | +| jansGrpClaims | smallint | YES | | NULL | | +| jansId | varchar(128) | YES | MUL | NULL | | +| jansIconUrl | varchar(64) | YES | | NULL | | +| jansUmaPolicyScrDn | tinytext | YES | | NULL | | +| jansAttrs | text | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | + +### jansScr +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| jansScr | text | YES | | NULL | | +| jansScrTyp | varchar(64) | YES | | NULL | | + +### jansSectorIdentifier +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| jansRedirectURI | json | YES | | NULL | | +| jansClntId | json | YES | | NULL | | + +### jansSessId +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| sid | varchar(64) | YES | MUL | NULL | | +| creationDate | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| jansLastAccessTime | datetime(3) | YES | | NULL | | +| jansUsrDN | varchar(128) | YES | MUL | NULL | | +| authnTime | datetime(3) | YES | | NULL | | +| jansState | varchar(64) | YES | | NULL | | +| jansSessState | text | YES | | NULL | | +| jansPermissionGranted | smallint | YES | | NULL | | +| jansAsJwt | smallint | YES | | NULL | | +| jansJwt | text | YES | | NULL | | +| jansPermissionGrantedMap | text | YES | | NULL | | +| jansInvolvedClnts | text | YES | | NULL | | +| deviceSecret | varchar(64) | YES | MUL | NULL | | +| jansSessAttr | text | YES | | NULL | | + +### jansSsa +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| inum | varchar(64) | YES | | NULL | | +| o | varchar(64) | YES | | NULL | | +| jansAttrs | text | YES | | NULL | | +| description | varchar(768) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | | NULL | | +| jansState | varchar(64) | YES | | NULL | | +| creatorId | varchar(64) | YES | | NULL | | +| creatorTyp | varchar(64) | YES | | NULL | | +| creationDate | datetime(3) | YES | | NULL | | + +### jansStatEntry +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | MUL | NULL | | +| dat | text | YES | | NULL | | +| jansData | text | YES | | NULL | | +| attr | text | YES | | NULL | | + +### jansToken +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| authnTime | datetime(3) | YES | | NULL | | +| authzCode | varchar(64) | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| grtId | varchar(64) | YES | | NULL | | +| grtTyp | varchar(64) | YES | | NULL | | +| jwtReq | text | YES | | NULL | | +| nnc | text | YES | | NULL | | +| scp | text | YES | | NULL | | +| tknCde | varchar(80) | YES | | NULL | | +| tknTyp | varchar(32) | YES | | NULL | | +| usrId | varchar(64) | YES | | NULL | | +| jansUsrDN | varchar(128) | YES | | NULL | | +| clnId | json | YES | | NULL | | +| acr | varchar(48) | YES | | NULL | | +| uuid | varchar(64) | YES | | NULL | | +| chlng | varchar(64) | YES | | NULL | | +| chlngMth | varchar(64) | YES | | NULL | | +| clms | varchar(64) | YES | | NULL | | +| ssnId | varchar(64) | YES | | NULL | | +| attr | text | YES | | NULL | | +| tknBndCnf | tinytext | YES | | NULL | | +| dpop | varchar(64) | YES | | NULL | | + +### jansU2fReq +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| jansId | varchar(128) | YES | | NULL | | +| jansReqId | varchar(64) | YES | | NULL | | +| jansReq | text | YES | | NULL | | +| jansSessStateId | varchar(64) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| exp | datetime(3) | YES | | NULL | | +| personInum | varchar(64) | YES | | NULL | | +| creationDate | datetime(3) | YES | MUL | NULL | | + +### jansUmaPCT +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| clnId | json | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| tknCde | varchar(80) | YES | MUL | NULL | | +| ssnId | varchar(64) | YES | | NULL | | +| jansClaimValues | varchar(64) | YES | | NULL | | +| dpop | varchar(64) | YES | | NULL | | +| authnTime | datetime(3) | YES | | NULL | | +| authzCode | varchar(64) | YES | | NULL | | +| grtId | varchar(64) | YES | | NULL | | +| grtTyp | varchar(64) | YES | | NULL | | +| jwtReq | text | YES | | NULL | | +| nnc | text | YES | | NULL | | +| scp | text | YES | | NULL | | +| tknTyp | varchar(32) | YES | | NULL | | +| usrId | varchar(64) | YES | | NULL | | +| jansUsrDN | varchar(128) | YES | | NULL | | +| acr | varchar(48) | YES | | NULL | | +| uuid | varchar(64) | YES | | NULL | | +| chlng | varchar(64) | YES | | NULL | | +| chlngMth | varchar(64) | YES | | NULL | | +| clms | varchar(64) | YES | | NULL | | +| attr | text | YES | | NULL | | +| tknBndCnf | tinytext | YES | | NULL | | + +### jansUmaRPT +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| authnTime | datetime(3) | YES | | NULL | | +| clnId | json | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | | NULL | | +| tknCde | varchar(80) | YES | | NULL | | +| usrId | varchar(64) | YES | | NULL | | +| ssnId | varchar(64) | YES | | NULL | | +| jansUmaPermission | json | YES | | NULL | | +| uuid | varchar(64) | YES | | NULL | | +| dpop | varchar(64) | YES | | NULL | | +| authzCode | varchar(64) | YES | | NULL | | +| grtId | varchar(64) | YES | | NULL | | +| grtTyp | varchar(64) | YES | | NULL | | +| jwtReq | text | YES | | NULL | | +| nnc | text | YES | | NULL | | +| scp | text | YES | | NULL | | +| tknTyp | varchar(32) | YES | | NULL | | +| jansUsrDN | varchar(128) | YES | | NULL | | +| acr | varchar(48) | YES | | NULL | | +| chlng | varchar(64) | YES | | NULL | | +| chlngMth | varchar(64) | YES | | NULL | | +| clms | varchar(64) | YES | | NULL | | +| attr | text | YES | | NULL | | +| tknBndCnf | tinytext | YES | | NULL | | + +### jansUmaResource +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| displayName | varchar(128) | YES | MUL | NULL | | +| inum | varchar(64) | YES | | NULL | | +| owner | varchar(64) | YES | | NULL | | +| jansAssociatedClnt | json | YES | | NULL | | +| jansUmaScope | varchar(768) | YES | MUL | NULL | | +| jansFaviconImage | varchar(64) | YES | | NULL | | +| jansGrp | varchar(64) | YES | | NULL | | +| jansId | varchar(128) | YES | MUL | NULL | | +| jansResource | tinytext | YES | | NULL | | +| jansRevision | int | YES | | NULL | | +| jansTyp | varchar(64) | YES | | NULL | | +| jansScopeExpression | text | YES | | NULL | | +| iat | datetime(3) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | MUL | NULL | | +| description | varchar(768) | YES | | NULL | | + +### jansUmaResourcePermission +| Field | Type | Null | Key | Default | Extra | +| -| -| -| -| -| -| +| doc_id | varchar(64) | NO | PRI | NULL | | +| objectClass | varchar(48) | YES | | NULL | | +| dn | varchar(128) | YES | | NULL | | +| exp | datetime(3) | YES | | NULL | | +| del | smallint | YES | | NULL | | +| jansUmaScope | varchar(768) | YES | | NULL | | +| jansConfCode | varchar(64) | YES | | NULL | | +| jansResourceSetId | varchar(64) | YES | | NULL | | +| jansAttrs | text | YES | | NULL | | +| jansTicket | varchar(64) | YES | MUL | NULL | | +| jansStatus | varchar(16) | YES | | NULL | | + -```mermaid -erDiagram - jansAppConf { - string doc_id PK "" - string ou "casa,jans-conf-api,jans-scim, jans-fido2" - string jansConfDyn "json configuration for the app" - } - - jansPerson { - string doc_id PK "eg - username1 username2" - string dn "eg: inum=username1,ou=person,o=jans" - string displayName - string inum - string memberOf FK "JSON array of dn from jansGrp" - string mail - string uid - string userPassword - string jansAdminUIRole FK "...." - } -jansPerson ||--o{ jansGrp: belongs-to -jansGrp ||--o{ jansPerson : contains - -jansGrp { - string doc_id PK "60B7" - string dn "inum=60B7,ou=groups,o=jans" - string displayName - string member FK "json array of dn from jansPerson" - string inum "inum=60B7" - string owner FK "dn from jansPerson" - -} - -jansCustomScr { - string doc_id PK "eg : 031C-4A65" - string dn "inum=031C-4A65, ou=script,o=jans" - string inum "same as doc_id" - string displayName - string jansScr "the entire script content" - string jansScrType "person_authentication,update_token" - boolean jansEnabled "0/1" -} - -jansScr { - string doc_id PK - string dn - string inum - string jansScr - string jansScrTyp -} -jansFido2AuthnEntry { - string doc_id PK - string dn - string jansId - datetime creationDate - string jansSessStateId - string jansCodeChallenge - string personInum FK "inum from jansPerson" - string jansAuthData - string jansStatus - string jansCodeChallengeHash -} -jansPerson ||--o{ jansFido2AuthnEntry : contains -jansFido2RegistrationEntry { - string doc_id PK - string dn - string jansId - datetime creationDate - string displayName - string jansSessStateId - string jansCodeChallenge - string jansCodeChallengeHash - string jansPublicKeyId - string personInum FK "inum from jansPerson" - string jansRegistrationData - string jansDeviceNotificationConf - string jansCounter - string jansStatus - -} -jansPerson ||--o{ jansFido2RegistrationEntry : contains - -jansClnt { - string doc_id PK "fd46d193-bca6-4343-b49f-6e0b020197c3" - string dn "inum=fd46d193-bca6-4343-b49f-6e0b020197c3,ou=clients,o=jans" - string displayName "some name" - string inum "same as doc_id" - string jansScope FK "json array containing inum values from jansScope" - string jansClaim FK "json array containing inum from jansAttr" -} -jansClnt ||--o{ jansScope : contains -jansClnt ||--o{ jansSectorIdentifier : contains - -jansClnt ||--o{ jansAttr : contains - -jansClntAuthz ||--|{ jansClnt : linked-with -jansClntAuthz ||--|{ jansPerson : linked-with -jansClntAuthz ||--|{ jansScope : linked-with - - - -jansClntAuthz{ - string doc_id PK "86ff3d19-4885-4f36-b536-17efcc802a27_2000.efad6d0e-c17b-4694-aedf-b322d10476ce" - string dn "jansId=86ff3d19-4885-4f36-b536-17efcc802a27_2000.efad6d0e-c17b-4694-aedf-b322d10476ce,ou=authorizations,o=jans" - string jansId "same as docId" - string jansClntId FK "JSON array of 1 or more client-s doc_id" - string jansUserId FK "doc_id from jansPerson" - string jansScope FK "JSON array of 1 or more scopes from jansScope" -} -jansScope{ - string doc_id PK "1200.ABCB46" - string dn "inum=1200.ABCB46,ou=scope,o=jans" - string displayName - string inum "same as doc_id" - string jansScopeTyp "openid, oauth" - string jansClaim FK "JSON array of 0 or more inums from jansAttr" -} -jansScope ||--o{ jansAttr : mapped-to - -jansAttr{ - string doc_id PK "11AA" - string dn "inum=11AA,ou=attributes,o=jans" - string displayName - string jansAttrName - string inum "same as doc_id" - -} -jansCache { - string doc_id PK "7934d59de2bd01746b7" - string uuid "same as doc_id" - string dn "uuid=7934d59de...,ou=cache,o=jans" - string dat "rO0ABXNyAB......." -} -jansSectorIdentifier{ - -} -jansCibaReq{ - string doc_id PK - string dn - string authReqId FK "" - string clnId FK "" - - string usrId FK "doc_id from jansPerson" - datetime creationDate - datetime exp - string jansStatus "active or inactive" - -} - -jansToken ||--o{ jansClnt : mapped-to - -jansToken{ - string doc_id PK - string dn - string usrId FK "doc_id from jansPerson" - string ssnId FK "" - string uuid - string tknCde - string clnId FK "JSOn array containing dn of jansClnt" - } - -jansUmaPCT { - string doc_id PK - - string dn - string clnId FK "json array of multiple inums from jansClnt" - string iat - string tknCde FK "" - string ssnId FK - string jansClaimValues FK "" - string dpop - string authzCode - string grtId FK "... from jansGrant" - string grtTyp - string jwtReq - string nnc - string scp FK "" - string tknTyp - string usrId FK "doc_id from jansPerson" - string jansUsrDN FK "dn from jansPerson" - strin acr - string uuid - string chlng - string chlngMth - string clms - string attr FK "" - string tknBndCnf - - -} -jansUmaRPT { -string doc_id PK - string dn - string clnId FK "" - string tknCde FK "" - string usrId FK "doc_id from jansPerson" - string ssnId FK "" - string jansUmaPermission FK "" - string uuid - string dpop - string authzCode - string grtId FK "" - string grtTyp FK "" - string jwtReq - string nnc - string scp FK "" - string tknTyp - string jansUsrDN FK "doc_id from jansPerson" - string acr - string chlng - string chlngMth - string clms FK "" - string attr FK "" - string tknBndCnf -} -jansUmaResource { - string doc_id PK - string objectClass - string dn - string displayName - string inum - string owner FK "" - string jansAssociatedClnt FK "" - string jansUmaScope FK "" - string jansFaviconImage - string jansGrp FK "" - string jansId - string jansResource - string jansRevision - string jansTyp - string jansScopeExpression - string description - -} -jansUmaResourcePermission { - string doc_id PK - string dn - string exp - string del - string jansUmaScope - string jansConfCode - string jansResourceSetId - string jansAttrs - string jansTicket - string jansStatus - -} - -jansGrant { - string doc_id PK - string dn - string grtId -} -jansPerson ||--o{ jansSessId : has -jansSessId ||--|{ jansClnt : associated-with -jansSessId { - string doc_id PK - string objectClass - string dn - string jansId - string sid - string creationDate - string jansUsrDN FK "dn from jansPerson" - string authnTime - string jansState - string jansSessState - string jansPermissionGranted - string jansAsJwt - string jansJwt - string jansPermissionGrantedMap - string jansInvolvedClnts FK "" - string jansSessAttr - -} -jansClnt ||--o{ jansSectorIdentifer : contains -jansPairwiseIdentifier }o--|| jansPerson : linked-with - -jansSectorIdentifer { - string doc_id PK - string objectClass - string dn - string jansId - string description - string jansRedirectURI - string jansClntId FK "json array of multiple inums from jansClnt" - -} - -jansPairwiseIdentifier{ - string doc_id PK - string objectClass - string dn - string jansId - string jansSectorIdentifier FK "" - string jansClntId FK "json array of multiple inums from jansClnt" - string jansUsrId FK "doc_id from jansPerson" -} - - -jansAdminConfDyn { - -} -jansStatEntry{ - -} -jansDeviceRegistration{} -jansInumMap{} -jansMetric{} -jansPar{} -jansPassResetReq{} -jansPushApp{} -jansPushDevice{} -jansRp{} -rpExpiredObject{} -jansAgama{} - - - - - -```