<ActiveDirectory>
<PrimaryServer port="389">IP address of Primary Domain Controller</PrimaryServer>
<SecondaryServer>IP Address of Secondary Domain Controller</SecondaryServer> <ssl>false</ssl>
<ShadowPassword>false</ShadowPassword>
<CaseSensitiveUserName>false</CaseSensitiveUserName>
<!-- provide SearchBase if full name and email attribute are to be synchronized
between ActiveDirectory and the database.-->
<SearchBase>DC=domain extension1,DC=domain extension2,DC=COM</SearchBase> <FullNameAttribute>displayName</FullNameAttribute> <EmailAttribute>mail</EmailAttribute>
</ActiveDirectory>
<!-- uncomment the following for generic LDAP login <LoginHandlerClass>com.appiq.security.server.LdapLoginHandler </LoginHandlerClass> <LoginHandlerType>LDAP</LoginHandlerType>
-->
<LDAP>
<!-- same as java.naming.provider.url ldap://ldap.companyname.com:389 -->
<Server port="389">IP address of LDAP server</Server> <!-- LDAP env can be added, an example is shown below...
<LDAPEnv
name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</LDAPEn
v> --> <ssl>false</ssl> <ShadowPassword>false</ShadowPassword> <CaseSensitiveUserName>false</CaseSensitiveUserName>
<!-- multiple DN entries are allowed, they will be tried one at a time --> <DN>CN=$NAME$,OU=Engineering,DC=HP,OU=US,DC=COM</DN>
<!-- provide FullNameAttribute and EmailAttribute if full name and email attribute
are to be synchronized between LDAP and the database --> <FullNameAttribute>displayName</FullNameAttribute> <EmailAttribute>mail</EmailAttribute>