@Override public List<UserPrompt> getCurrentPrompts() throws PwmUnrecoverableException { final Map<String, String> nextPrompts = naafLoginSequence.nextPrompt(locale); final List<UserPrompt> returnObj = new ArrayList<>(); for (final String key : nextPrompts.keySet()) { returnObj.add(new UserPromptImpl(key, nextPrompts.get(key))); } return returnObj; }