public abstract class AbstractCredentialCollector extends Object implements CredentialCollector
| Modifier and Type | Field and Description |
|---|---|
protected String |
prompt |
protected String |
value |
| Constructor and Description |
|---|
AbstractCredentialCollector() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes() |
char[] |
chars() |
String |
name() |
void |
setName(String name) |
void |
setPrompt(String prompt) |
String |
string() |
boolean |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollect, typepublic boolean validate()
public String string()
string in interface CredentialCollectorpublic char[] chars()
chars in interface CredentialCollectorpublic byte[] bytes()
bytes in interface CredentialCollectorpublic void setPrompt(String prompt)
setPrompt in interface CredentialCollectorpublic void setName(String name)
setName in interface CredentialCollectorpublic String name()
name in interface CredentialCollectorCopyright © 2023 The Apache Software Foundation. All rights reserved.