On 7/8/2014 10:35 AM, Stian Thorgersen wrote:
I've removed the model methods from KeycloakSession, so
that's one level of indirection gone.
Are you talking about dropping Model API?
Dropping Model API or Hybrid API. Would probably be easier to drop
Hybrid and replace some Model API methods (i.e. addUser()) with
ModelProvider equivalent.
Maybe you can't because of cross-provider joins for things like roles?
Then again, maybe you should let the UserProvider decide how to convert
a role mapping to a referenced RoleModel and vice versa.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com