protected void setClientAuthentication(SslContextFactory con, ClientAuthentication clientAuth) { con.setWantClientAuth(true); if (clientAuth != null) { if (clientAuth.isSetWant()) { con.setWantClientAuth(clientAuth.isWant()); } if (clientAuth.isSetRequired()) { con.setNeedClientAuth(clientAuth.isRequired()); } } } /**
protected void setClientAuthentication(SslContextFactory con, ClientAuthentication clientAuth) { con.setWantClientAuth(true); if (clientAuth != null) { if (clientAuth.isSetWant()) { con.setWantClientAuth(clientAuth.isWant()); } if (clientAuth.isSetRequired()) { con.setNeedClientAuth(clientAuth.isRequired()); } } } /**
/** * Set the ClientAuthentication (from the JAXB type) that * configures an HTTP Destination. */ protected void setClientAuthentication(ClientAuthentication clientAuth) { getCxfSslContextFactory().setWantClientAuth(true); if (clientAuth != null) { if (clientAuth.isSetWant()) { getCxfSslContextFactory().setWantClientAuth(clientAuth.isWant()); } if (clientAuth.isSetRequired()) { getCxfSslContextFactory().setNeedClientAuth(clientAuth.isRequired()); } } }