[keycloak-user] Securing backend rest methods

Juan Diego juandiego83 at gmail.com
Fri Jun 19 14:32:20 EDT 2015


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 at 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 at gmail.com>
> > To: "keycloak-user" <keycloak-user at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150619/8f023e68/attachment.html 


More information about the keycloak-user mailing list