开发者

DB integrity, Users and SSO

In an existing DB, we have several tables associated with a central USERS table. Tables such as list of old password or User's preferences are associated based on USER_ID column in the main USERS table.

A new requirment is to allow login and preferences handling using 开发者_开发知识库SSO, i.e. case where USERS are not existing in the USERS table. On the face of it, it may require moving away from handling the database integirty using keys because the core USER_ID entry in the USERS table will not existing and will break following entries in the chain.

Any thoughts on how to handle such case AND keeping keys in place?


You can create an entry in the USERS table when ever a user logs in that you don't know yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜