Thanks for replying... But you have confused me even more
First: What kind of login service you are talking about.. can you share any reference about the same. If it's more secure would love to go for it.
Second: My problem is, i have to use two h:message (one has to be a global message). Only those messages which i am creating inside the bean, i can route to <h:message for="element"/> rest of the input validation messages are display by the global component.
I dont want to use a custom validator, as the in-built validators are working fine for me.