use of password.pwm.util.operations.cr.LocalDbCrOperator in project pwm by pwm-project.
the class CrService method init.
@Override
public void init(final PwmApplication pwmApplication) throws PwmException {
this.pwmApplication = pwmApplication;
operatorMap.put(DataStorageMethod.DB, new DbCrOperator(pwmApplication));
operatorMap.put(DataStorageMethod.LDAP, new LdapCrOperator(pwmApplication.getConfig()));
operatorMap.put(DataStorageMethod.LOCALDB, new LocalDbCrOperator(pwmApplication.getLocalDB()));
operatorMap.put(DataStorageMethod.NMAS, new NMASCrOperator(pwmApplication));
}
Aggregations