public abstract class StorageAuthAdapter extends java.lang.Object implements StorageAuthenticator
| Modifier | Constructor and Description | 
|---|---|
protected | 
StorageAuthAdapter()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
getCredential()
This method is implemented by subclasses to obtain the authentication credentials from the system or user. 
 | 
void | 
getCredential(java.lang.String prompt)
This method is implemented by subclasses to obtain the authentication credentials from the system or user. 
 | 
java.lang.String | 
getPassword()
Returns the password. 
 | 
java.lang.String | 
getUsername()
Returns the username. 
 | 
public abstract void getCredential()
                            throws StorageAuthenticationException
getCredential in interface StorageAuthenticatorStorageAuthenticationException
public void getCredential(java.lang.String prompt)
                   throws StorageAuthenticationException
getCredential().getCredential in interface StorageAuthenticatorprompt - A string prompt for user interaction.StorageAuthenticationException
public java.lang.String getUsername()
                             throws StorageAuthenticationException
StorageAuthenticationException.getUsername in interface StorageAuthenticatorStorageAuthenticationException
public java.lang.String getPassword()
                             throws StorageAuthenticationException
StorageAuthenticationException.getPassword in interface StorageAuthenticatorStorageAuthenticationException