XCC/J 6.0-3

com.marklogic.xcc.examples
Class HelloSecureWorld

java.lang.Object
  extended by com.marklogic.xcc.examples.HelloSecureWorld

public class HelloSecureWorld
extends Object

A version of the Hello World example that connects to a server using SSL/TLS.

This example can load a specified key store of trusted signing authorities, use the Java default key store, or use a stub that accepts any server certificate. It can also load client certificates from a specified key store, or connect without a certificate.

In part to demonstrate the available configuration options, connections are forced to use TLS with strong ciphers using 256 bit keys, as might be desirable with highly sensitive data being transmitted over public networks.

Click here for the source code for this class.


Constructor Summary
HelloSecureWorld()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloSecureWorld

public HelloSecureWorld()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

XCC/J 6.0-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com