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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content