Forgot to mention that I am using JBoss portal 2.6.4 .
How do I implement additional password validation criteria using the existing Login infrastructure? I was trying to modify the User and its implementation (btw, these classes are not in portal source, dont know why?) and the associated hbm file with some success.
Can I just get hold of the SessionFactory and do all the validations in service class which is accessed by the backing beans?
Is this the way to do it or is there a better way?