Skip to content

Couchbase key mappings

YuriyZ edited this page Aug 22, 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
  • oxTrust ->

Shortcuts with markers

  • Group -> _g
    Example: gluuGroupVisibility -> _gVisibility
  • Client -> _c
    Example: oxAuthTrustedClient -> trusted_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
  • Default -> _d
    Example : oxAuthDefaultAcrValues -> _dAcrValues

Shortcuts without markers

  • Configuration -> Conf
    Example: oxSmtpConfiguration -> smtpConf
  • Application -> App \ Example : oxTrustConfApplication -> confApp
  • 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
  • Signing -> Sig
    Example: oxAuthTokenEndpointAuthSigningAlg -> tokEndpointAuthSigAlg
  • Expiration -> Exp
    Example: oxLinkExpirationDate -> linkExpDate
  • Object -> Obj
    Example: oxAuthRequestObjectEncryptionAlg -> reqObjEncrAlg
  • Token -> Tok (it's not super nice but we use it a lot so we need to cut it but still need to read it clearly)
    Example oxAuthTokenType -> tok_t, oxAuthTokenEndpointAuthSigningAlg -> tokEndpointAuthSigAlg
Clone this wiki locally