|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.lyo.server.oauth.core.consumer.AbstractConsumerStore
public abstract class AbstractConsumerStore
Manages the list of OAuth consumers.
| Constructor Summary | |
|---|---|
AbstractConsumerStore()
|
|
| Method Summary | |
|---|---|
protected LyoOAuthConsumer |
add(LyoOAuthConsumer consumer)
|
void |
addAll(Collection<LyoOAuthConsumer> consumers)
|
abstract void |
closeConsumerStore()
Closes the consumer store. |
Collection<LyoOAuthConsumer> |
getAllConsumers()
Gets all OAuth consumers. |
LyoOAuthConsumer |
getConsumer(net.oauth.OAuthMessage requestMessage)
Gets the consumer for this message. |
LyoOAuthConsumer |
getConsumer(String consumerKey)
Gets the consumer for a key. |
protected LyoOAuthConsumer |
remove(String consumerKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore |
|---|
addConsumer, removeConsumer, updateConsumer |
| Constructor Detail |
|---|
public AbstractConsumerStore()
| Method Detail |
|---|
public void addAll(Collection<LyoOAuthConsumer> consumers)
public Collection<LyoOAuthConsumer> getAllConsumers()
ConsumerStore
getAllConsumers in interface ConsumerStore
public LyoOAuthConsumer getConsumer(net.oauth.OAuthMessage requestMessage)
throws net.oauth.OAuthException,
IOException
ConsumerStore
getConsumer in interface ConsumerStorerequestMessage - the OAuth message
net.oauth.OAuthException - if the OAuth message does not contain a consumer key
ConsumerStoreException - on other errors
IOException - on errors reading the messagepublic LyoOAuthConsumer getConsumer(String consumerKey)
ConsumerStore
getConsumer in interface ConsumerStoreconsumerKey - the consumer key
public abstract void closeConsumerStore()
ConsumerStore
closeConsumerStore in interface ConsumerStoreprotected LyoOAuthConsumer add(LyoOAuthConsumer consumer)
protected LyoOAuthConsumer remove(String consumerKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||