You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rajnikantsh edited this page Oct 27, 2017
·
3 revisions
Welcome to the oxCore wiki!
Introduce 2 new library in oxcore
a. oxCouchbase – This library will work parallel to oxLdap
b. oxFilter – This library will work top of oxCouchbase and oxLdap
(Later we can add more libraries like oxSql parallel to oxCouchbase, oxLdap and oxFilter will work on top of these library and provide methods for oxAuth, oxTrust etc)
oxCouchbase will use ox-couchbase.json for its configurations
oxFilter will check externalized setting of database to use. And then initiate the support for selected persistence provider that is LDAP or Couchbase.
To implement support for given options to use different persistence backend during installation need to extract common set of operational methods into interface. This interface should also extend javax.persistence.EntityManager interface.
Initialize the required persistence provider implementation using CDI Producer class PersistenceProviderFactory.
Need to implement that interface for both LDAP and Couchbase.
In the oxauth library we will get instance of desired Persistence Provider from oxfilter
Replace the existing oxcore-ldap in oxAuth/oxTrust etc. with oxFilter Library and remove UnboundedId SDK from oxLdap.