Share all details about your problem, including any error messages you may have received.
The customer require when user logon, need check the user info to confirm user is not vender, if user don’t meet condition, block user logon, Could we take plugin for the requirement or need modify loginInclude.xhtml?
I have try to use plugin, document.getElementById(‘loginForm:loginButton’), from console window, no any output.
We use Microsoft Active Directory for pass-through authentication.
There is no direct way you can do this. But having said it If you are using pass-through authentication, then you may use application’s correlation rule to prevent user’s login by checking if the user is invalid.
Also, for the above use-case you have to see it does not disrupt your normal application account correlation.
Please detail more “you may use application’s correlation rule to prevent user’s login by checking if the user is invalid”? Do you mean in the rule, return something when user finish AD auth?
It is correct only what @enistri_devo have mentioned. As per my understanding your rule should be evaluated to get the identity in all cases. You may try to configure and let us know your observation if there is deviation.