How to set different authentication methods for Web portal and password portal (HTML5)

How can we set different method of authentication for Password portal and web portal ?