how to force user to log in first?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

how to force user to log in first?

#1

Postby t4nu » Thu Jan 14, 2016 10:41 pm

Hi,
I want to force the user to login first before use any module in the application. No matter which link he use, it will always redirect him to the login page and after that sent him to his destination.
How to do it?
Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Fri Jan 15, 2016 8:26 am

If you want all users to logon before they run any forms, you should turn on the logon exit. This will show a logon page with userid/password to all new users and then call the Logon Service to perform the logon. This is activated differently according to the Ebase version:

V4: uncomment the following line in UFSSetup.properties
Ufs.logonExitServlet=LogonExitServlet

V5: check option Enable Authentication Of New Users in the Server Admin app/Security Properties

In both cases the Logon Service must be implemented and tested before you do this.

Documentation: http://dev-docs.verj.io/ufs/doc/Securit ... onExit.htm
0 x


Who is online

Users browsing this forum: No registered users and 19 guests