this.appSettings = appSettings;
}
@PostConstruct
public void ldapEnvInit() {
LDAPProperty ldapProp = new LDAPProperty();
ldapProp.setLdapFactory(appSettings.getPropValue(AppPropSettings.LDAP_FACTORY));
ldapProp.setLdapServer(appSettings.getPropValue(AppPropSettings.LDAP_SERVER_URL));
ldapProp.setProtocol(appSettings.getPropValue(AppPropSettings.LDAP_SECURITY_PROTOCOL));
ldapProp.setAuthentication(appSettings.getPropValue(AppPropSettings.LDAP_AUTHENTICATION));
ldapProp.setBaseDN(appSettings.getPropValue(AppPropSettings.LDAP_BASE_DN));
ldapProp.setAttUID(appSettings.getPropValue(AppPropSettings.LDAP_UID_ATTR_NAME));
ldapProp.setAttMail(appSettings.getPropValue(AppPropSettings.LDAP_MAIL_ATTR_NAME));
ldapProp.setAttGender(appSettings.getPropValue(AppPropSettings.LDAP_GENDER_ATTR_NAME));
ldapProp.setAttCN(appSettings.getPropValue(AppPropSettings.LDAP_CN_ATTR_NAME));
ldapProp.setAttSn(appSettings.getPropValue(AppPropSettings.LDAP_SN_ATTR_NAME));
ldapProp.setAttGivenname(appSettings.getPropValue(AppPropSettings.LDAP_GIVENNAME_ATTR_NAME));
ldapProp.setAttPersonalTitle(appSettings.getPropValue(AppPropSettings.LDAP_PERSONAL_TITLE_ATTR_NAME));
this.ldapUtil.initEnv(ldapProp);
}