Hi

My app has quite complicated system of security.

It uses role access model (levels of access) but on the other hand it needs something more: authorization to a particular resource/section. It can be done only by a many-to-many db relation thus list of references in userAccountEntity or some authKeys object (more practical).

How can I merge these both models to work together (at the same 'layer') - to include my aythKeys concept into the spring security.

Best regards.