[Esapi-user] Validation fields with JSF

Jeff Williams jeff.williams at aspectsecurity.com
Fri Feb 26 13:18:31 EST 2010



I'm sure there are a lot of folks out there who would like to see your solution on integrating ESAPI validation into the JSF framework. Would you be willing to share your code and/or a short article on what you did and how it worked for you?







From: esapi-user-bounces at lists.owasp.org [mailto:esapi-user-bounces at lists.owasp.org] On Behalf Of Chris Schmidt
Sent: Thursday, February 25, 2010 11:25 PM
To: Sebastian
Cc: esapi-user at lists.owasp.org
Subject: Re: [Esapi-user] Validation fields with JSF


I tried to integrate ESAPI validator functions with JSF Validator, so I constructed my own JSF Validator (the class must impement the javax.faces.validator.Validator) and into the logic of the "validate" method i called ESAPI validator functions. It works perfectly, so i found a way to use ESAPI Validator and JSF Validator with an easy way to show error messages to the user. I was really simple!!




-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/esapi-user/attachments/20100226/764b173f/attachment.html 

More information about the Esapi-user mailing list