Your code will not work if you add @SecurityDomain("keycloak")
If you add @SecurityDomain("keycloak") then on each method :
@RolesAllowed({ ADMIN, USERDATA, USERMANAGEMENT, MICROSERVICE })
it will not work because only working with EJB
I never said it works.
But it should be interesting to integrate with it
Envoyé depuis mon smartphone Samsung Galaxy.
-------- Message d'origine -------- De : Niko Köbler [email protected] Date : 24/10/2019 14:27 (GMT+01:00) À : dasniko/keycloak-javaee-demo [email protected] Cc : leccyril [email protected], Author [email protected] 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.
Well, then do it.