[keycloak-dev] new provider deployer working on branch!

Dmitry Telegin mitya at cargosoft.ru
Wed Aug 10 17:14:09 EDT 2016


Hi,

> As a side note, one thing I could look into is the ability to use 
> @Inject of a KeycloakSession.  Developer could then write entire web 
> > applications that are deployed separately and worked with the
keycloak 
> API directly.  @Inject KeycloakSession would work similarly to 
> @PersistenceContexts EntityManager.
> 

Sounds incredibly cool! From my practice I can say that applications
often need to perform queries on an IdM layer; such queries can make an
essential part of application's business logic (ex., "retrieve all the
members of groups the current user is a member of"). For that, native
KeyCloak API seems to be much more convenient than REST.

But if I get it right, this will be limited to webapps deployed to the
same WildFly instance. Do you think this approach could be nevertheless
extended to webapps running in separate JVMs/appservers, or REST is the
only option here?

Looking forward, as soon as JSR-375 is ready, do you think KeyCloak
could adopt it?

Dmitry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160811/8388d11f/attachment.html 


More information about the keycloak-dev mailing list