Couchbase key mappings - GluuFederation/oxCore GitHub Wiki
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_toxAuth->
Example:oxAuthAppType->app_t,oxAuthLogoutSessionRequired->logoutSessionRequiredox->\ ExampleoxIconUrl->iconUrloxTrust->
Shortcuts with markers
Group->_g
Example:gluuGroupVisibility->_gVisibilityClient->_c
Example:oxAuthTrustedClient->trusted_cType->_t(we have a lot ofType, so keep it 2 chars shorter seems to worth it)
ExampleoxAuthSubjectType->subject_tUser->_u
ExampleoxAuthUserId->_uId,oxAuthUserDN->_uDNDefault->_d
Example :oxAuthDefaultAcrValues->_dAcrValues
Shortcuts without markers
Configuration->Conf
Example:oxSmtpConfiguration->smtpConfApplication->App\ Example :oxTrustConfApplication->confAppRequest->ReqResponse->Resp
Example:oxAuthUserInfoEncryptedResponseAlg->_uInfoEncrRespAlgAttribute->AttrAuthentication->Authn
Example:oxAuthAuthenticationTime->authnTime,oxIDPAuthentication->iDPAuthnAuthorization->Authz
Example:oxAuthSkipAuthorization->skipAuthzEncrypted->Enc,Encryption->EncExample:oxAuthUserInfoEncryptedResponseAlg->_uInfoEncRespAlgSigning->Sig
Example:oxAuthTokenEndpointAuthSigningAlg->tokEndpointAuthSigAlgExpiration->Exp
Example:oxLinkExpirationDate->linkExpDateObject->Obj
Example:oxAuthRequestObjectEncryptionAlg->reqObjEncrAlgToken->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)
ExampleoxAuthTokenType->tok_t,oxAuthTokenEndpointAuthSigningAlg->tokEndpointAuthSigAlg