Hey Bill, 

it is actually an EJB (@Stateless @Path(...)). 

Another question about this: You mention in the user guide that you are planning to improve the integration and get rid of the @SecurityDomain annotation. Are you currently working on this or can you give me some estimate on which release this is planned for?

Cheers,
Nils


On Tue, Apr 1, 2014 at 2:57 PM, Bill Burke <bburke@redhat.com> wrote:
Just a regular JAX-RS class?  Not an EJB?

On 4/1/2014 5:00 AM, Nils Preusker wrote:
> Hi,
>
> I'm currently testing the @SecurityDomain("keycloak") and @RolesAllowed
> annotations on my JAX-RS services and was surprised to see that I get a
> HTTP 500 (internal server error) when a requesting user doesn't have the
> role that is required by @RolesAllowed. Is this intentional or a known
> issue or am I doing something wrong in the config?
>
> I'm using Wildfly 8.0.0.Final with the default RestEasy module. Would
> upgrading RestEasy do the trick?
>
> Cheers,
> Nils
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user