Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


oracle.security.xmlsec.keys.retrieval
Interface StorageAuthenticator

All Known Implementing Classes:
StorageAuthAdapter

public interface StorageAuthenticator

Classes implementing this interface perform authentication for access to specific key stores or locator services.

An adapter class StorageAuthAdapter is provided for the convenience of implementers.

Since:
1.2

Method Summary
 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.

 

Method Detail

getCredential

void getCredential()
                   throws StorageAuthenticationException
This method is implemented by subclasses to obtain the authentication credentials from the system or user.
Throws:
StorageAuthenticationException

getCredential

void getCredential(java.lang.String prompt)
                   throws StorageAuthenticationException
This method is implemented by subclasses to obtain the authentication credentials from the system or user.
Parameters:
prompt - A string prompt for user interaction.
Throws:
StorageAuthenticationException

getUsername

java.lang.String getUsername()
                             throws StorageAuthenticationException
Returns the username.
Throws:
StorageAuthenticationException

getPassword

java.lang.String getPassword()
                             throws StorageAuthenticationException
Returns the password.
Throws:
StorageAuthenticationException

Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


Copyright © 2005, 2009, Oracle. All rights reserved.