public class KnoxLoginDialog extends Object implements CredentialCollector
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTOR_TYPE |
boolean |
ok |
char[] |
pass |
String |
username |
| Constructor and Description |
|---|
KnoxLoginDialog() |
public static final String COLLECTOR_TYPE
public char[] pass
public String username
public boolean ok
public void collect()
throws CredentialCollectionException
collect in interface CredentialCollectorCredentialCollectionExceptionpublic String string()
string in interface CredentialCollectorpublic char[] chars()
chars in interface CredentialCollectorpublic byte[] bytes()
bytes in interface CredentialCollectorpublic String type()
type in interface CredentialCollectorpublic String name()
name in interface CredentialCollectorpublic void setPrompt(String prompt)
setPrompt in interface CredentialCollectorpublic void setName(String name)
setName in interface CredentialCollectorpublic static void main(String[] args)
Copyright © 2020 The Apache Software Foundation. All rights reserved.