[keycloak-user] How to authorize JAX-RS service based on reasteasy

Davide Ungari ungarida at gmail.com
Wed Apr 23 18:12:32 EDT 2014


Hi Bill,
the roles are defined at realm level. Frontend and backend applications
have a scope mapping with assigned roles "user" under the menu "Realm
Roles".

> Where are your roles defined?  At the realm level?  At the application
> level?  If they are defined at the realm level you need to define a
> scope for the application.  Go to the admin console.  The application
> link for your front-end application.  Go to the scope menu item and add
> the realm roles to the scope for the front-end application> Build and deploy the preconfigured demo and view the realm in the admin > console.  You will see a similar setup where the "customer-portal" and > "product-portal" apps have their scope set to the realm level roles.> Scope is the set of roles an application or oauth client is allowed to > ask for.

--
Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20140424/0a6359ab/attachment.html 


More information about the keycloak-user mailing list