keycloak-javaee-demo icon indicating copy to clipboard operation
keycloak-javaee-demo copied to clipboard

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

Open leccyril opened this issue 6 years ago • 3 comments

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

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

it will not work because only working with EJB

leccyril avatar Oct 23 '19 13:10 leccyril

I never said it works.

dasniko avatar Oct 24 '19 12:10 dasniko

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.

leccyril avatar Oct 24 '19 15:10 leccyril

Well, then do it.

dasniko avatar Oct 24 '19 20:10 dasniko