public interface ChallengeResponseService
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getChallenges(java.util.Locale locale)
Gets the System Default Challenge Questions
|
java.util.Set |
getChallengesForLoggedInUser(java.util.Locale locale)
Returns the ChallengeResponses for the logged-in user
|
java.util.Set |
getChallengesForUser(java.lang.String userName,
java.util.Locale locale)
Returns the only Challenge questions (not responses) for unauthenticated user.
|
void |
setChallengeResponsesForLoggedInUser(java.util.Set challenges)
Sets the Challenge Responses for the logged-in user.
|
java.util.Set getChallenges(java.util.Locale locale)
throws ChallengeResponseException
locale - the locale in which the challenge questions should be
translated. If this parameter is null, no translation is doneChallengeResponseException - if the challenges cannot be retrieved
for any reasonvoid setChallengeResponsesForLoggedInUser(java.util.Set challenges)
throws ChallengeResponseException
challenges - the challenges containing the responses.ChallengeResponseException - if challenge-responses could not be
set for some reasonjava.util.Set getChallengesForLoggedInUser(java.util.Locale locale)
throws ChallengeResponseException
ChallengeResponseException - if challenge-responses could not be retrieved for some reasonjava.util.Set getChallengesForUser(java.lang.String userName,
java.util.Locale locale)
throws ChallengeResponseException
userName - , user loginlocale - the locale in which the challenge questions should be
translated. If this parameter is null, no translation is doneChallengeResponseException - if challenge-responses could not be retrieved for some reason