public class Credentials extends Object
| Constructor and Description |
|---|
Credentials() |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
add(CredentialCollector collector,
String prompt,
String name) |
Credentials |
add(String collectorType,
String prompt,
String name) |
void |
collect() |
CredentialCollector |
get(String name) |
public Credentials add(String collectorType, String prompt, String name) throws CredentialCollectionException
CredentialCollectionExceptionpublic Credentials add(CredentialCollector collector, String prompt, String name) throws CredentialCollectionException
CredentialCollectionExceptionpublic void collect()
throws CredentialCollectionException
CredentialCollectionExceptionpublic CredentialCollector get(String name)
Copyright © 2020 The Apache Software Foundation. All rights reserved.