public final class OAuthLocalConsumerCredentialMapper extends AbstractOAuthCredentialMapper implements DynamicOAuthConsumerCredentialMapper
CONSUMER_CREDENTIAL, TOKEN_CREDENTIAL| Modifier and Type | Method and Description |
|---|---|
AccessCredential |
getAccesssCredential(String consumerKey) |
String |
getConsumerSecret(String consumerKey)
Returns a consumer secret for the given consumerKey.
|
String |
getCredentialSecret(String credentialType,
String credentialKey) |
static OAuthLocalConsumerCredentialMapper |
getInstance() |
protected void |
init() |
AccessCredential |
putAccesssCredential(String consumerKey,
String consumerSecret) |
String |
putConsumerSecret(String consumerKey,
String consumerSecret) |
void |
putConsumerSecrets(Map<String,String> consumerCredentials) |
String |
putCredentialSecret(String credentialType,
String credentialKey,
String credentialSecret) |
getAccesssCredential, getTokenSecret, putAccesssCredential, putTokenSecretclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitputAccesssCredential, putTokenSecretgetAccesssCredential, getTokenSecretprotected void init()
init in class AbstractOAuthCredentialMapperpublic static OAuthLocalConsumerCredentialMapper getInstance()
public String getConsumerSecret(String consumerKey) throws CredentialStoreException
OAuthCredentialMappergetConsumerSecret in interface OAuthCredentialMappergetConsumerSecret in class AbstractOAuthCredentialMapperCredentialStoreException - TODOpublic String putConsumerSecret(String consumerKey, String consumerSecret) throws CredentialStoreException
putConsumerSecret in interface DynamicOAuthCredentialMapperputConsumerSecret in class AbstractOAuthCredentialMapperCredentialStoreExceptionpublic void putConsumerSecrets(Map<String,String> consumerCredentials) throws CredentialStoreException
putConsumerSecrets in interface DynamicOAuthConsumerCredentialMapperCredentialStoreExceptionpublic String getCredentialSecret(String credentialType, String credentialKey) throws CredentialStoreException
getCredentialSecret in interface CredentialMapperCredentialStoreExceptionpublic String putCredentialSecret(String credentialType, String credentialKey, String credentialSecret) throws CredentialStoreException
putCredentialSecret in interface DynamicCredentialMapperCredentialStoreExceptionpublic AccessCredential getAccesssCredential(String consumerKey) throws CredentialStoreException
getAccesssCredential in interface OAuthConsumerCredentialMapperCredentialStoreExceptionpublic AccessCredential putAccesssCredential(String consumerKey, String consumerSecret) throws CredentialStoreException
putAccesssCredential in interface DynamicOAuthConsumerCredentialMapperCredentialStoreExceptionCopyright © 2013. All rights reserved.