|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.marklogic.xcc.examples.HelloSecureWorld
public class HelloSecureWorld
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 |
|---|
public HelloSecureWorld()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exception
|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com