[keycloak-user] Testing JSR-250 annotated EJBs with Keycloak and Arquillian

Bill Burke bburke at redhat.com
Tue Jul 7 13:33:34 EDT 2015


You mean RolesAllowed and stuff?  It should just work:

http://keycloak.github.io/docs/userguide/html/ch08.html#jboss-adapter

Search for EJB.  You have to create a security domain to propagate the 
security context, but its a simple step.

On 7/7/2015 10:57 AM, Thiago Presa wrote:
> Hi there,
>
> Is there any documentation or examples on testing JSR-250 annotated EJBs
> with Keycloak and Arquillian? I've found [1], but couldn't figure out
> how to use it in a test environment.
>
> Best Regards,
> Thiago Presa
>
>
> [1] -
> https://github.com/keycloak/keycloak/blob/master/integration/adapter-core/src/main/java/org/keycloak/adapters/jaas/DirectAccessGrantsLoginModule.java
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list