question: private void validateTOTPParameters ( ) throws AuthLoginException { StringBuilder errorMessages = new StringBuilder ( ) ; if ( StringUtils . isEmpty ( loginTimeAttrName ) ) { errorMessages . append ( "Login time attribute name is empty \n" ) ; } if ( clockDriftCheckEnabled && StringUtils . isEmpty ( observedClockDriftAttrName ) ) { errorMessages . append ( "Observed time drift attribute name is empty \n" ) ; } if ( totpTimeStep <= 0 ) { errorMessages . append ( "Invalid TOTP time step interval: " + totpTimeStep + " \n" ) ; } if ( totpStepsInWindow < 0 ) { errorMessages . append ( "Invalid TOTP steps in window value: " + totpStepsInWindow ) ; } if ( errorMessages . length ( ) > 0 ) { debug . error ( "OATH.validateTOTPParameters(): Invalid settings : " + errorMessages . toString ( ) ) ; throw new AuthLoginException ( amAuthOATH , "authFailed" , null ) ; } }
target:  Validate TOTP specific settings.