Multifactor Authentication - Change Login Dialog
2 posts
• Page 1 of 1
Multifactor Authentication - Change Login Dialog
Hi,
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 "http://doc.sibvisions.com/vaadin/replace_login" 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
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 "http://doc.sibvisions.com/vaadin/replace_login" 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
- reversedr
- Posts: 35
- Joined: Tue Oct 23, 2018 11:03 am
Re: Multifactor Authentication - Change Login Dialog
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.
(see doc.sibvisions.com)
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.
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)
(see doc.sibvisions.com)
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.
-
Support@SIB - Posts: 355
- Joined: Mon Sep 28, 2009 1:56 pm
2 posts
• Page 1 of 1