[keycloak-user] User Federation : How to implement provider if users are stored in other stores
Bruno Oliveira
bruno at abstractj.org
Tue Aug 2 09:31:17 EDT 2016
There's no specific example for databases, but you can adapt
the example[1] to your needs. For example, instead of having a file-based[2]
federation provider, create one to get data from an existing database.
[1] - https://github.com/keycloak/keycloak/tree/master/examples/providers/federation-provider
[2] - https://github.com/keycloak/keycloak/blob/master/examples/providers/federation-provider/src/main/java/org/keycloak/examples/federation/properties/FilePropertiesFederationProvider.java
On 2016-08-02, Deepak Garg wrote:
> Hi,
>
> I didn't find any relevant example where I can use existing database to
> authenticate user using keycloak.
>
> please suggest specific example.
>
>
> Thanks,
> Deepak
>
> On Tue, Aug 2, 2016 at 6:04 PM, Bruno Oliveira <bruno at abstractj.org> wrote:
>
> > Hi Deepak, there are several examples here[1]. I hope it helps.
> >
> > [1] - https://github.com/keycloak/keycloak/tree/master/examples/providers
> >
> > On 2016-08-02, Deepak Garg wrote:
> > > Hi,
> > >
> > > We have a existing web application which is using RDBMS database for
> > > authentication and authorization. I like to know how I can use keycloak
> > to
> > > authenticate my user against same RDBMS databse.
> > >
> > > In your documentation under User Federation you have mentioned that we
> > can
> > > implement our own provider if we have users in other stores such as
> > RDBMS.
> > > Can you please let me know how to do it.
> > >
> > > We are running ASP.Net web apps which is written in HTML5, JQuery and
> > CSS3.
> > >
> > > Thanks,
> > > Deepak
> >
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> >
> > --
> >
> > abstractj
> > PGP: 0x84DC9914
> >
--
abstractj
PGP: 0x84DC9914
More information about the keycloak-user
mailing list