We don't have examples for this yet. The closer could be https://github.com/apache/james-project/blob/master/server/container/guice/cassandra-ldap-guice/src/main/java/org/apache/james/CassandraLdapJamesServerMain.java bringing in LDAP UsersRepository for cassandra-guice server.
The "main server" module is overriden with the module bringing in the custom UsersRepository. Cheers, Benoit Le 15/06/2020 à 12:08, David Leangen a écrit : >>> Ideally, I would like to use my existing useradmin / auth system, which has >>> a REST interface. >> >> Nowadays, you would write a UsersRepository implementation interacting >> with your REST interface. You would define your custom server reusing >> jpa-guice prepackages server guice module but specifying your >> UsersRepository rather than the JPA one. >> >> (Guice also allows overrides). > > Cool, thanks! > > Are there any examples anywhere I could take a look at? > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
