Oracle Security Developer Tools XML Security Java API Reference
10g Release 3 (10.1.4.0.1)

B28178-01


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

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

getCredential

public 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

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

getPassword

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

Oracle Security Developer Tools XML Security Java API Reference
10g Release 3 (10.1.4.0.1)

B28178-01


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