Conclusion
If application and user preferences are stored in a directory, they can be shared easily. A user or application can re-create a previous state from a different location or computer, as long as there is network access for LDAP. Preferences can be stored as individual values or as a Java object. They can be identified by unique attribute names or by using the tree structure of the directory along with metainformation. If the number and types of preferences are variable and growing, it may be difficult to maintain unique attributes for each type. This chapter has presented three different strategies for storing a user's application preferences with LDAP; determining which one is appropriate for your application is left to you.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access