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