Search in sources :

Example 1 with LdapOtpOperator

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());
}
Also used : LocalDbOtpOperator(password.pwm.util.operations.otp.LocalDbOtpOperator) LdapOtpOperator(password.pwm.util.operations.otp.LdapOtpOperator) LocalDbOtpOperator(password.pwm.util.operations.otp.LocalDbOtpOperator) DbOtpOperator(password.pwm.util.operations.otp.DbOtpOperator)

Aggregations

DbOtpOperator (password.pwm.util.operations.otp.DbOtpOperator)1 LdapOtpOperator (password.pwm.util.operations.otp.LdapOtpOperator)1 LocalDbOtpOperator (password.pwm.util.operations.otp.LocalDbOtpOperator)1