I'm trying to add a custom realm for Google authenticator in Glassfish
to authenticate users with 2factor authentication. In this case users
have a ordinary password and one-time generated password.
My problem is using the login method in " HttpServletRequest" that can
accept only two parameters "username, password". Since I have another
password I need to pass
three parameters to login to authenticate users via Glassfish server.
Does anyone knows how to solve this issue?
Thanks in advance
Ali