use of org.gluu.util.properties.FileConfiguration in project oxAuth by GluuFederation.
the class Manual method init.
@BeforeClass
public void init() {
final FileConfiguration fileConfiguration = new FileConfiguration(LDAP_FILE_PATH);
final Properties props = PropertiesDecrypter.decryptProperties(fileConfiguration.getProperties(), "passoword");
final LdapEntryManagerFactory ldapEntryManagerFactory = new LdapEntryManagerFactory();
final LdapConnectionProvider connectionProvider = new LdapConnectionProvider(props);
connectionProvider.create();
MANAGER = ldapEntryManagerFactory.createEntryManager(props);
}
Aggregations