agave-systems/systems-core/src/main/java/org/iplantc/service/transfer/sftp/MultiFactorKBIRequestHandler.java
/**
		 * Checks the given string for the presence of any of a known
		 * set of MFA prompts given in {@link #KNOWN_MFA_PROMPTS}.
		 * 
		 * @param prompt the message returned from a kbi prompt
		 * @return true if the prompt is a mfa challenge phrase, false otherwise
		 */
Checks the given string for the presence of any of a known
set of MFA prompts given in  #KNOWN_MFA_PROMPTS.

@param prompt the message returned from a kbi prompt
@return true if the prompt is a mfa challenge phrase, false otherwise
Checks the given string for the presence of any of a known set of MFA prompts given in #KNOWN_MFA_PROMPTS . @param prompt the message returned from a kbi prompt @return true if the prompt is a mfa challenge phrase false otherwise
protected boolean isMFAPrompt(String prompt) {
			for(String knownMFAPrompt: KNOWN_MFA_PROMPTS) {
				if (StringUtils.contains(prompt, knownMFAPrompt)) {
					log.debug("Found MFA prompt in the keyboard-interactive session");
					return true;
				}
			}
			return false;
		}
protected boolean isMFAPrompt ( String prompt ) { for ( String knownMFAPrompt : KNOWN_MFA_PROMPTS ) { if ( StringUtils . contains ( prompt , knownMFAPrompt ) ) { log . debug ( "Found MFA prompt in the keyboard-interactive session" ) ; return true ; } } return false ; }
Checks the given string for the presence of any of a known
 set of MFA prompts given in {@link #KNOWN_MFA_PROMPTS}.
Checks the given string for the presence of any of a known set of MFA prompts given in { @link #KNOWN_MFA_PROMPTS } .