Integrate with jbpm

I am using jbpm as my workflow system.Is there a way to get the roles from keycloak to jbpm system.