|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.keys.retrieval.StorageAuthAdapter
public abstract class StorageAuthAdapter
Classes extending this adapter class perform authentication for access to specific key stores or locator services.
Constructor Summary | |
---|---|
protected |
StorageAuthAdapter() |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StorageAuthAdapter()
Method Detail |
---|
public abstract void getCredential() throws StorageAuthenticationException
getCredential
in interface StorageAuthenticator
StorageAuthenticationException
public void getCredential(java.lang.String prompt) throws StorageAuthenticationException
getCredential()
.getCredential
in interface StorageAuthenticator
prompt
- A string prompt for user interaction.StorageAuthenticationException
public java.lang.String getUsername() throws StorageAuthenticationException
StorageAuthenticationException
.getUsername
in interface StorageAuthenticator
StorageAuthenticationException
public java.lang.String getPassword() throws StorageAuthenticationException
StorageAuthenticationException
.getPassword
in interface StorageAuthenticator
StorageAuthenticationException
|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |