I have tried lot many things but i'm unable to solve the issue.
Here have attached the zip files for webapplication as well as the ejb one u can check them out and the login-config.xml looks like (the modification)
<application-policy name="PassAuth">
<authentication>
<login-module code="com.mq.VerificationLoginModule"
flag="required">
<module-option name="debug">true</module-option>
</login-module>
<login-module code="org.jboss.security.ClientLoginModule" flag="required"></login-module>
</authentication>
</application-policy>
Please help. N thanks for all ur support.