i have found an sample application of spring web service which is secured ..
the code i have attached here..
but now the question is how to generate certified clients ?
link to source
http://forum.springsource.org/attachment.php?attachmentid=2537&d=1258878120