public class StorageAuthInfoGetter extends Object
Constructor and Description |
---|
StorageAuthInfoGetter(Console console) |
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword(String url)
Prompt the user for password necessary for connecting to a given url.
|
String |
getUserName(String url)
Prompt the user for username necessary for connecting to a given url.
|
public StorageAuthInfoGetter(Console console) throws IOException
IOException
public String getUserName(String url) throws IOException
url
- IOException
public char[] getPassword(String url) throws IOException
url
- IOException
Copyright © 2015. All rights reserved.