Skip to content

Couchbase key mappings

YuriyZ edited this page Aug 21, 2019 · 23 revisions

Couchbase key mappings

Static rules:

  • objectClass -> oc

Dynamic rules:

We use _ as marker since luckily it's not used in current schema:

Drop prefix

  • gluu ->
    Example: gluuAttributeType -> attr_t
  • oxAuth ->
    Example: oxAuthAppType -> app_t, oxAuthLogoutSessionRequired -> logoutSessionRequired
  • ox -> \ Example oxIconUrl -> iconUrl

Shortcuts with markers

  • Group -> _g
    Example: gluuGroupVisibility -> _gVisibility
  • Client -> _c
  • Type -> _t (we have a lot of Type, so keep it 2 chars shorter seems to worth it)
    Example oxAuthSubjectType -> subject_t
  • User -> _u
    Example oxAuthUserId -> _uId, oxAuthUserDN -> _uDN

Shortcuts without markers

  • Request -> Req
  • Response -> Resp
    Example: oxAuthUserInfoEncryptedResponseAlg -> _uInfoEncrRespAlg
  • Attribute -> Attr
  • Authentication -> Authn
    Example: oxAuthAuthenticationTime -> authnTime, oxIDPAuthentication -> IDPAuthn
  • Authorization -> Authz
    Example: oxAuthSkipAuthorization -> skipAuthz
  • Encrypted -> Encr Example: oxAuthUserInfoEncryptedResponseAlg -> _uInfoEncrRespAlg
Clone this wiki locally