How to configure custom Hostname Verifier in CXF ?

Solution Verified - Updated -

Issue

  • Is there a way to create and set a custom host name verifier for CXF client connections. There is a setHostnameverifier method in org.apache.cxf.configuration.jsse.TLSClientParameters class but that is in CXF version 3.0 since FSW uses CXF2.8, we don't have access to that method. Is there another way?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0
  • Apache CXF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.