Plugin:org.tolven.ldapmgr

From DOC

Jump to: navigation, search

Contents

Overview

Command Line

Test connection as RootDN to LDAP

This test attempts to connect to LDAP using the root DN in LDAP and the admin keystore for SSL.

tpf -plugin org.tolven.ldapmgr -testRootDNLDAP

Test connection from admin to LDAP

This test attempts to connect to LDAP using the admin DN in LDAP and the admin keystore for SSL.

tpf -plugin org.tolven.ldapmgr -testAdminLDAP

This test will not work until configPhase2 has been executed at least one to place the admin DN in LDAP. However, one can still determine that LDAP can be reached for example, if LDAP sends back an error about invalid credentials.

Simulate connection from appserver to LDAP

This test attempts to connect to LDAP using the admin DN in LDAP and the jboss keystore for SSL.

tpf -plugin org.tolven.ldapmgr -testAppServerLDAP

This test will not work until configPhase2 has been executed at least one to place the admin DN in LDAP. However, one can still determine that LDAP can be reached for example, if LDAP sends back an error about invalid credentials.

Update LDAP Schemas

This is normally only needed once during the initial configuration, but executing this command again causes no harm. It will create the necessary Tolven schemas and initial users in LDAP, if they do not already exist. org.tolven.mdbuser handles the creation of the mdbuser in LDAP.

tpf -plugin org.tolven.ldapmgr -updateSchemas

LDAP Manager GUI

Standalone GUI

tpf -plugin org.tolven.ldapmgr -gui

Component Of Configuration Manager GUI

GUI components like this one can be a component of a parent GUI. To make this plugin's GUI a child of org.tolven.configurationmgr, ensure that the following property appears in this plugin's entry in the <config-dir>/plugins.xml:

<plugin id="org.tolven.ldapmgr">
	<root />
	<property name="guiComponentParentId" value="org.tolven.configurationmgr" />
</plugin>

org.tolven.configurationmgr must also be in the <config-dir>/plugins.xml as a <root> plugin, so that it can be referenced. The sort order id is: org.tolven.ldapmgr_ldap

Version Notes

Version 0.0.6

  1. Provide a new testRootDNLDAP option, which allows a test to me made for LDAP connectivity, without requiring the admin DN to already be present.

Version 0.0.5

  1. Clarified output messages for the tests
  2. Also writes messages to the tolven.log as well as stdout

Version 0.0.4

  1. tolvenRemoteClient is now assembled during configPhase1, and placed in the public/download directory of the /Tolven context, where it can be automatically downloaded from the server via http to the installDir/remoteLib directory for use during the execution of configPhase3

Version 0.0.3

  1. Fixed bug which occurs when using the -gui option

Version 0.0.2

  1. Added an option to updateSchemas

Version 0.0.1

  1. GUI for testing LDAP connection
Personal tools