How can I secure a method for a role, if a rest service has multiple methods.

On Fri, Jun 19, 2015 at 2:49 AM, Stian Thorgersen <stian@redhat.com> wrote:
Keycloak is based on roles and we don't have support for groups. By using composite roles you can model groups as a role though.

----- Original Message -----
> From: "Juan Diego" <juandiego83@gmail.com>
> To: "keycloak-user" <keycloak-user@lists.jboss.org>
> Sent: Thursday, 18 June, 2015 8:35:08 PM
> Subject: [keycloak-user] Securing backend rest methods
>
> Hi,
>
> I was looking in the examples but I cannot find the right one. Is there an
> example that shows how to secure just a method of a rest for a certain
> group, allow all groups to the rest method. Like in picketlinks you could
> create your own @Admin @Mygroup annotation and add it to a function.
>
> Thanks,
>
> Juan diego
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user