public final class SimpleAuth extends Object
If the server certificate is self-signed,
or otherwise not trusted out-of-the-box,
then set the trust store by using the JSSE system property
-Djavax.net.ssl.trustStore=/path/to/opendj/config/keystore
and the trust store password if necessary by using the JSSE system property
-Djavax.net.ssl.trustStorePassword=`cat /path/to/opendj/config/keystore.pin`.
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Authenticate to the directory either over LDAP, over LDAPS, or using
StartTLS.
|
public static void main(String[] args)
args - The command line argumentsCopyright © 2017-2020 Wren Security. All Rights Reserved.