Rampart and WSS4J 1.6.x - USERNAME_TOKEN validation in Rampart WS-Password Callback Handler

"Shah, Sumit (CGI Federal)" <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <3357D2C72D9A0345A66DFB0B043C04166C9B0864@FFX-S-EX-C1.cgifederal.com>
WSS4j 1.6.x deprecated the use of WSPasswordCallback.USERNAME_TOKEN_UNKNOWN (http://coheigea.blogspot.com/2011/02/usernametoken-processing-changes-in.html) which was one of the methods to validate the plain text passwords on the server side (@see Rampart Policy Sample01). Now,  because of the deprecation it does not seem to be possible to validate plaintext password, especially when the server side callback handler does not have access to the plain text password to validate against the password on the incoming request. It seems like CXF has a way to plugin custom validators for WSS4J 1.6.x to support this model (http://coheigea.blogspot.com/2011/06/custom-token-validation-in-apache-cxf.html).

I would appreciate any thoughts from the community. Maybe I am missing something.

Thanks
Sumit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.