B4J Question [ABMaterial] DataBase based LogIn

Cableguy

Expert
Licensed User
Longtime User
Hi guys...

I'm re-starting my venture in ABMaterial Framework and I searched for ao DataBase Based LogIn system...

I managed to find the demo approach to it, hardcoded, but I would like some pointers or even a tutorial on how to manage such a loggin system...

so basically what I would like is to, prompt user for his credentials ( Username and password) and compare them with a database table...
Generic Pointers are welcomed too, I like to discover!
 

Harris

Expert
Licensed User
Longtime User
The demo uses a table based solution. It checks the Users table to see if user and password pass... You can also use it to set the level (can delete?) for each user logged in. In my example, I extended it to set the amount of rows a user will see based on his/her monitor height.

I would like to extend it further to restrict access to various menu items - but this will take some doing (table with user level or menu items allowed per user).
A simple outline or framework would be most handy for us to follow that would work within this ABM framework.

Let's build a functional login system....

Thanks
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
"the demo uses a table based solution..."???

The FeedBack webapp you mean?
The demo uses hardcore user and password (both are "demo")...

I see the feedback webapp uses an additional jar to incorporate SQL...
I need to take a deeper look into it
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
"the demo uses a table based solution..."???

The FeedBack webapp you mean?
The demo uses hardcore user and password (both are "demo")...

I see the feedback webapp uses an additional jar to incorporate SQL...
I need to take a deeper look into it

Yes, you are right. I get the two mixed up since I relied heavily on both for practical examples.
If you need, I can send you a project I am currently working on that incorporates these fundamentals.
It is messy (many redundant codes), but with your skills, you will see what lies where.
Thanks
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
Yes, the feedback app does use a login system with a database
Any hints on building a very functional login system (hide menu items, no delete (already accomplished), etc. This would seem to be table based but the logic to accomplish is beyond my scope.

Thanks
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
@Harris, yes please! Share à dropbox link with by PM!
 
Upvote 0
Top