Re: Additional validation for j_security_check action

2010-01-08 Thread Juanjo C
Sorry for use this thread, but I'm desperate Dani, How to use Struts 2 with JAAS? I have my own implementation of JAAS that works fine in applications without Struts, but don't works if I use it into Strust. Can you help me? 2009/6/17 Wes Wannemacher > I have thought about this a bit l

Re: Additional validation for j_security_check action

2009-06-17 Thread Wes Wannemacher
I have thought about this a bit lately and I never came up with a good solution. In this case, you are sort of hacking the framework by using our view library to render the UI, but the processing happens elsewhere. That's why I don't know if there is a good solution to sprinkle in some validation a

Additional validation for j_security_check action

2009-06-17 Thread Daniil Petrov
Hi, I am using JAAS authentication in a Struts 2 web application. A login form looks like: I need to validate password field before passing it to the authentication service. Basically, I need to check that this field is not empty. Struts 2 suggests two ways f