@Test public void generateChallenge_test() { Challenge challenge = target.generateChallenge(); assertThat(challenge).isNotNull(); assertThat(challenge.getValue()).hasSize(16); }
@Override public Challenge generateChallenge() { return new DefaultChallenge(); }
HttpSessionChallengeRepository implements ChallengeRepository { @Override public Challenge generateChallenge() { return new DefaultChallenge(); } }
HttpSessionChallengeRepository implements ChallengeRepository { @Override public Challenge generateChallenge() { return new DefaultChallenge(); }  }
HttpSessionChallengeRepository implements ChallengeRepository { @Override public Challenge generateChallenge() { return new DefaultChallenge(); }  @Override Challenge generateChallenge(); @Override void saveChallenge(Challenge challenge, HttpServletRequest request); @Override Challenge loadChallenge(HttpServletRequest request); void setSessionAttributeName(String sessionAttributeName); }
HttpSessionChallengeRepository implements ChallengeRepository { @Override public Challenge generateChallenge() { return new DefaultChallenge(); }  @Override Challenge generateChallenge(); @Override void saveChallenge(Challenge challenge, HttpServletRequest request); @Override Challenge loadChallenge(HttpServletRequest request); void setSessionAttributeName(String sessionAttributeName);  }