use of password.pwm.util.operations.otp.LdapOtpOperator in project pwm by pwm-project.
the class OtpService method init.
@Override
public void init(final PwmApplication pwmApplication) throws PwmException {
this.pwmApplication = pwmApplication;
operatorMap.put(DataStorageMethod.LDAP, new LdapOtpOperator(pwmApplication));
operatorMap.put(DataStorageMethod.LOCALDB, new LocalDbOtpOperator(pwmApplication));
operatorMap.put(DataStorageMethod.DB, new DbOtpOperator(pwmApplication));
settings = OtpSettings.fromConfig(pwmApplication.getConfig());
}
Aggregations