public class LdapAuthBeanTester
extends java.lang.Object
Constructor and Description |
---|
LdapAuthBeanTester() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] sa)
Run this method to try and test configuration settings for LdapAuthBeans,
or to troubleshoot.
|
public static void main(java.lang.String[] sa) throws java.io.IOException
Passwords typed on the command line are inherently not secure, so only use this program when the computer it is run on is secured and where your command line may not be observed, directly or indirectly, by others.
Set the properties in a properties file to match your LDAP security and Directory Information Tree structure and use this program to check everything between the LdapAuthBean and your LDAP server. You then know the exact settings to use for an LdapAuthBean that you can plug into AuthBeanMultiplexer.
Run with no arguments to see required syntax.
The property file may contain any of the following properties, which exactly match the corresponding setter methods in this class.
'javax.net.ssl.trustStore'
.
Tokens like ${this} will not be expanded to system property values, and your bean will get the values exactly as you type them in.
The file sample/ldap-exerciser.properties in the HyperSQL distribution may be used as a template or example.
sa
- argumentsjava.io.IOException
- on io errorCopyright © 2001 - 2018 HSQL Development Group.