public class PasswordResponseProvider extends Object implements ChallengeResponseProvider
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
DEFAULT_PROMPT_PATTERN |
| Constructor and Description |
|---|
PasswordResponseProvider(PasswordFinder pwdf) |
PasswordResponseProvider(PasswordFinder pwdf,
Pattern promptPattern) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getResponse(String prompt,
boolean echo) |
List<String> |
getSubmethods() |
void |
init(Resource resource,
String name,
String instruction) |
boolean |
shouldRetry() |
public static final Pattern DEFAULT_PROMPT_PATTERN
public PasswordResponseProvider(PasswordFinder pwdf)
public PasswordResponseProvider(PasswordFinder pwdf, Pattern promptPattern)
public List<String> getSubmethods()
getSubmethods in interface ChallengeResponseProviderpublic void init(Resource resource, String name, String instruction)
init in interface ChallengeResponseProviderpublic char[] getResponse(String prompt, boolean echo)
getResponse in interface ChallengeResponseProviderpublic boolean shouldRetry()
shouldRetry in interface ChallengeResponseProviderCopyright © 2009–2014. All rights reserved.