Answer the question
In order to leave comments, you need to log in
DDD Authorization?
Hello. I'm trying to make Feng Shui authorization according to the canons of DDD. Vernon's book mentions that this can be done using a segregated core, a separate generic model with a limited context, or done on top of the domain layer, the responsibility layer.
Segregated core: there is not much information about this. As far as I understand, this is something like an intermediate model through which the core model is connected to the rest of the models in the domain and only through it?
Generic model: everything seems to be clear here. Authorization is needed - we go through this model, in which contexts are associated with the contexts of other models.
Responsibility Layer: it seems to me that doing another layer on top of the domain layer is overkill.
Maybe I'm missing something? But what are the advantages and disadvantages of each method?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question