Reputation: 1423
I have a two factor based authentication server which i need to integrate to a existing web application
Existing application description:-
java JSP, servlet application
running on tomcat server 6.0
source code is not available
My twofactor solution provide following integrations:-
Problem statement
I need to integrate my two-factor(OTP verification ) to the existing application ,so that OTP is asked on every login and user has no way he can enter the application without OTP . I have heard about creating filters on the web server(of exiting application ) but It will allow intruder to use his OTP and the victim's password
Upvotes: 1
Views: 859
Reputation:
You could create a Tomcat valve which intercepts all requests and prompts for the OTP. This way if the user does not enter a valid OTP the request won't even make it to the webapp
Upvotes: 1