Hi Colm,

Thanks for your response

I have written a custom validator and registering it programatically with
following code

Map<String, Object> serviceProperties = new HashMap<String, Object>();
serviceProperties.put("ws-security.validate.token", "false");
serviceProperties.put("ws-security.ut.no-callbacks", "true");
serviceProperties.put("ws-security.ut.validator",
CustomUTValidator.class.getName());
endPoint.setProperties(serviceProperties);

With this it is still invoking UserNameTokenValidator instead of my custom
one.

Am i doing it in the right way?

Thanks,
-Nagamohan

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Apache-cxf-2-4-2-Custom-UserNameToken-validator-tp5489035p5489464.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to