On Feb 11, 2016 10:03, "Renann Prado" <prado.renann@gmail.com> wrote:

Yes, it is a JEE application and I am using standard adapter.
I thought about creating a servlet filter, but is this the right approach to take?

Thanks

On Feb 11, 2016 06:24, "Stian Thorgersen" <sthorger@redhat.com> wrote:
Assuming you're talking about an JEE application, why not just use a servlet filter? Make it take a peek in the http session to check if the variables are set, if not load from database and add them.

On 11 February 2016 at 08:38, Renann Prado <darkness.renann@gmail.com> wrote:

Basically I have some session variables that should be set upon first hit in the API (using bearer token). The requirement is that session variables will be dynamically loaded from the database and put into the http session before I actually process the request, so I can use the variables to process it.

Thanks


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user