Re: Custom Authentication

2020-06-15 Thread David Leangen
> It would be more helpfull if you can name your integration target. What > is your Identity Provider? Hi Eugen, I have my own custom provider based on Firebase Auth (long story), but OpenID Connect would be a great (and very general) solution! Cheers, =David signature.asc Description: Messa

Re: Custom Authentication

2020-06-15 Thread Eugen Stan
Hello David, It would be more helpfull if you can name your integration target. What is your Identity Provider? I'm planing to make it work with Keycloak and there are two ideas that I'm currently exploring: - Integrate via OpenID Connect with Keycloak - probably with some caching ?! - Use SCIM

Re: Custom Authentication

2020-06-14 Thread David Leangen
> 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. Thanks.

Re: Custom Authentication

2020-06-14 Thread Tellier Benoit
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"

Re: Custom Authentication

2020-06-14 Thread David Leangen
>> 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 sp

Re: Custom Authentication

2020-06-14 Thread Tellier Benoit
Le 12/06/2020 à 18:30, David Leangen a écrit : > Hi! > > Looking at this page: > > https://james.apache.org/server/3/config-users.html > > It looks like there are 4 ways to configure the user repository: > > * JPA > * JDBC > * File > * LDAP &g

Custom Authentication

2020-06-12 Thread David Leangen
Hi! Looking at this page: https://james.apache.org/server/3/config-users.html It looks like there are 4 ways to configure the user repository: * JPA * JDBC * File * LDAP Is it possible to use a custom authentication system? Ideally, I would like to use my existing useradmin / auth