AnsweredAssumed Answered

Why IdentitySession operated with EntityObjects?

Question asked by akakunin on Nov 5, 2010
Latest reply on Nov 8, 2010 by tombaeyens

I'm trying to implement own IdentitySession - I need to get information about User & Groups from another system (Liferay in my case).
It is not a big problem - since I've already did same thing for jBPM4 - and Activiti and jBPM4 are quite close in this par tof API.

But - I was surprised, why Interface IdentitySession operated not only by interfaces (Group, User), but with implementation classes as well (GroupEntity, UserEntity).

Since both classes are almost POJO - it is not a big issue to implement their initialization, just question from architecture perspective - for me it looks much better if top-level interfaces operated by interfaces (like it was in IdentitySession in jBPM4) - not by concrete implementations