actframework icon indicating copy to clipboard operation
actframework copied to clipboard

Act security postgresql schema

Open java4devgmail opened this issue 6 years ago • 7 comments

Hello

I just discovered actframework a few weeks back and spend a lot of time to understand it. I am impressed of the simplicity the approach you choose and the amount of work in this framework and the libraries/plugins. This is something that I was really looking after. As I am working with OSGi and Sling due to my work with AEM I was looking for something lighter and more intuitive. I went through all sample projects I could find as well as the act-aaa plugin and as security is very important on what I want to use this framework for, I tried to convert some of the examples e.g. Yet Another Todo List to using postgres but to implement the whole act-aaa and create eo model from scratch seems to be a lot of work especially since there is no documentation I was wondering if you have implemented a full postgresql schema for the act-aaa plugin/osgl.aaa-core and the eo model. One that supports all features, Principals, Permissions , Roles etc.

Best Regards Nikolas

java4devgmail avatar Mar 26 '19 20:03 java4devgmail

@java4devgmail thanks for your interesting in Act. I will spend sometime this weekend to create a sample project to demonstrate how to use database as persistence layer for AAA objects including roles and permissions.

greenlaw110 avatar Mar 26 '19 21:03 greenlaw110

I appreciate your quick reply. Thank you very much

java4devgmail avatar Mar 27 '19 05:03 java4devgmail

Hi @java4devgmail

Apologize that I am late on this work as I am working hard to getting 1.8.20 release out. I will come up with the demo app immediately after this job is done.

Cheers, Green

greenlaw110 avatar Apr 06 '19 11:04 greenlaw110

Hi Green

I understand, looking forward to your demo. Kind Regards Nikolas

java4devgmail avatar Apr 06 '19 13:04 java4devgmail

Hi @java4devgmail ,

Here is the sample project: https://github.com/act-gallery/bookmark

greenlaw110 avatar Apr 14 '19 10:04 greenlaw110

Note I don't have the database schema defined in the sample project, rather I use the domain model class to generate the schema in the database. By default it is h2 db created when you first run the project, it's named test in the project dir.

greenlaw110 avatar Apr 14 '19 10:04 greenlaw110

Hi Green I will download it and start hacking I will come back if I have any questions

thank you very much Nikolas

2019-04-14 13:18 GMT+03:00, Green Luo [email protected]:

Note I don't have the database schema defined in the sample project, rather I use the domain model class to generate the schema in the database. By default it is h2 db created when you first run the project, it's named test in the project dir.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/actframework/actframework/issues/1094#issuecomment-482941538

java4devgmail avatar Apr 14 '19 14:04 java4devgmail