com.dyuproject.oauth.sp
Class PropertiesHashStore

java.lang.Object
  extended by com.dyuproject.oauth.sp.HashStore
      extended by com.dyuproject.oauth.sp.PropertiesHashStore
All Implemented Interfaces:
ServiceToken.Store

public final class PropertiesHashStore
extends HashStore

PropertiesHashStore - in-memory consumer keys

Author:
David Yu
Date created:
Jun 8, 2009

Field Summary
 
Fields inherited from class com.dyuproject.oauth.sp.HashStore
DEFAULT_ACCESS_TIMEOUT, DEFAULT_EXCHANGE_TIMEOUT, DEFAULT_LOGIN_TIMEOUT, DEFAULT_MAC_ALGORITHM
 
Constructor Summary
PropertiesHashStore(Properties consumers, String secretKey, String macSecretKey)
           
PropertiesHashStore(Properties consumers, String secretKey, String macSecretKey, String macAlgorithm, long accessTimeout, long exchangeTimeout, long loginTimeout)
           
 
Method Summary
protected  String getConsumerSecret(String consumerKey)
           
 
Methods inherited from class com.dyuproject.oauth.sp.HashStore
generateToken, getAccessToken, getAuthCallbackOrVerifier, getRequestToken, newAccessToken, newAccessToken, newHybridRequestToken, newRequestToken, validateCallbackUrl, validateUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesHashStore

public PropertiesHashStore(Properties consumers,
                           String secretKey,
                           String macSecretKey)

PropertiesHashStore

public PropertiesHashStore(Properties consumers,
                           String secretKey,
                           String macSecretKey,
                           String macAlgorithm,
                           long accessTimeout,
                           long exchangeTimeout,
                           long loginTimeout)
Method Detail

getConsumerSecret

protected String getConsumerSecret(String consumerKey)
Specified by:
getConsumerSecret in class HashStore


Copyright © 2008-2013. All Rights Reserved.