public void initialize ( Map < String , Object > configProps ) throws WIMException { reposId = ( String ) configProps . get ( KEY_ID ) ; reposRealm = ( String ) configProps . get ( REALM ) ; if ( String . valueOf ( configProps . get ( ConfigConstants . CONFIG_PROP_SUPPORT_CHANGE_LOG ) ) . equalsIgnoreCase ( ConfigConstants . CONFIG_SUPPORT_CHANGE_LOG_NATIVE ) ) { //Construct a change handler depending on the type of LDAP repository changeHandler = ChangeHandlerFactory . getChangeHandler ( iLdapConn ) ; } iLdapConfigMgr = new LdapConfigManager ( ) ; iLdapConfigMgr . initialize ( configProps ) ; iLdapConn = new LdapConnection ( iLdapConfigMgr ) ; iLdapConn . initialize ( configProps ) ; isActiveDirectory = iLdapConfigMgr . isActiveDirectory ( ) ; }
Function that is invoked when the LdapAdapter is initialized . It extracts the repository configuration details and sets itself up with the required properties .