This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Multifactor Authentication - Change Login Dialog

General questions regarding the development with ProjX.

Multifactor Authentication - Change Login Dialog

Postby reversedr » Tue Oct 15, 2019 1:08 pm


We are trying to change the login dialog to support multifactor authentication.
We managed to add a new text field, using the process described here "" as reference.
We extended DBSecurityManager to add the further security validations.
We have overridden ISecurityManager.validateAuthentication to add the custom logic.

We are having trouble understanding how can we access the the new text field value on this method.
We have access to the ISession object, but this object has the "standard" credential information already set, and no way to access extra information posted on the login dialog.

Is there any standard way of doing this?

Thank You
Posts: 35
Joined: Tue Oct 23, 2018 11:03 am

Re: Multifactor Authentication - Change Login Dialog

Postby Support@SIB » Tue Oct 15, 2019 1:25 pm

The Session is the server-side object. The client has a connection instance.

So every connection connects to a session. If you want to send additional information, use the connection to set the properties, e.g.

Code: Select all
connection.setProperty(String, Object)


It's important to set the properties before opening the connection. "All properties" will be available on the server-side and accessible via session. This is the standard procedure.
User avatar
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm

Return to Development