dasniko / keycloak-javaee-demo

Demo for Java EE and Keycloak SSO integration.
http://www.n-k.de/2016/05/how-to-get-accesstoken-from-keycloak-springboot-javaee.html
14 stars 14 forks source link

Your code will not work if you add @SecurityDomain("keycloak") #1

Open leccyril opened 4 years ago

leccyril commented 4 years ago

If you add @SecurityDomain("keycloak") then on each method :

@RolesAllowed({ ADMIN, USERDATA, USERMANAGEMENT, MICROSERVICE })

it will not work because only working with EJB

dasniko commented 4 years ago

I never said it works.

leccyril commented 4 years ago

But it should be interesting to integrate with it

Envoyé depuis mon smartphone Samsung Galaxy.

-------- Message d'origine -------- De : Niko Köbler notifications@github.com Date : 24/10/2019 14:27 (GMT+01:00) À : dasniko/keycloak-javaee-demo keycloak-javaee-demo@noreply.github.com Cc : leccyril leclerc.cyril@hotmail.fr, Author author@noreply.github.com Objet : Re: [dasniko/keycloak-javaee-demo] Your code will not work if you add @SecurityDomain("keycloak") (#1)

I never said it works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dasniko/keycloak-javaee-demo/issues/1?email_source=notifications&email_token=AAYVWJRCE4TW2JWPVJ6NWI3QQGIDBA5CNFSM4JEA57Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECE243A#issuecomment-545893996, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYVWJQVK2IRNM2I4FV4PALQQGIDBANCNFSM4JEA57YQ.

dasniko commented 4 years ago

Well, then do it.