B4J Question [ABMaterial] Log in / needs authorization

ToolboxZX

Member
Licensed User
Longtime User
Does the framework support any log in / authorization methods and are there any examples or is this a function of Jetty?
I found references to authorization objects in abmshared and abmapplication in the demo code.

What I am looking for is an example of restricting users from accessing only certain pages and being forced to log in for those pages if they attempt to access them (either by way of the sidebar menu or direct url).

I saw earl's post on the Jetty Login system and filters tutorial https://www.b4x.com/android/forum/threads/server-login-system-filters-tutorial.39020/

But wondered if the abmaterial framework had an example of best practices on applying a login method.
 

Cableguy

Expert
Licensed User
Longtime User
ABMATERIAL offers you the possibility of defining if a login should be performed, and in such case, call a login modal "form".
The login mechanics are up to you to implement, either by looking up a database or hardcoding the credentials, whatever you wish to do with iy
 
Upvote 0
Top