Are you still getting the error with a more up-to-date version of CXF
2.4? If so, could you create a test-case that shows the problem and
attach it to a new JIRA?

Colm.

On Thu, Feb 16, 2012 at 1:08 PM, Nagamohan <[email protected]> wrote:
> 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.



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to