actframework / act-aaa-plugin

Use OSGL aaa library to mange Authentication/Authorization/Accounting for ActFramework Application
Apache License 2.0
6 stars 2 forks source link

Bytecode enhancement on AAAObjectBase and other aaa-core models #38

Closed greenlaw110 closed 5 years ago

greenlaw110 commented 5 years ago

It needs to add @MappedSuperClass to

So the extended JPA model get fields defined in the above class mapped to db table columns correctly

It also needs to add @Transient to AAAObjectBase.props so this field NOT get mapped into database.

For SimplePermission.implied we add the @Transient annotation as a temporary solution to prevent it been mapped into db column as blob. However this means the db based permission structure does not support implied concept. We will defer this to future releases