public class

OfBizConsumerTokenStore

extends Object
implements ConsumerTokenStore
java.lang.Object
   ↳ com.atlassian.jira.oauth.consumer.OfBizConsumerTokenStore

Class Overview

OfBiz implementation of the ConsumerTokenStore. These are the tokens required when making an Oauth request to an Oauth service provider. So for example, an iGoogle Gadget served by JIRA's Dashboard calling home trying to authorize access.

Summary

Nested Classes
class OfBizConsumerTokenStore.Columns  
Constants
String PROPERTY_SET_KEY
String TABLE
Public Constructors
OfBizConsumerTokenStore(OfBizDelegator delegator, JiraPropertySetFactory propertySetFactory)
Public Methods
ConsumerToken get(ConsumerTokenStore.Key key)
Map<ConsumerTokenStore.Key, ConsumerToken> getConsumerTokens(String consumerKey)
ConsumerToken put(ConsumerTokenStore.Key key, ConsumerToken token)
void remove(ConsumerTokenStore.Key key)
void removeTokensForConsumer(String consumerKey)
Protected Methods
ConsumerService getConsumerService()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.oauth.consumer.ConsumerTokenStore

Constants

public static final String PROPERTY_SET_KEY

Constant Value: "OAuthConsumerToken"

public static final String TABLE

Constant Value: "OAuthConsumerToken"

Public Constructors

public OfBizConsumerTokenStore (OfBizDelegator delegator, JiraPropertySetFactory propertySetFactory)

Public Methods

public ConsumerToken get (ConsumerTokenStore.Key key)

public Map<ConsumerTokenStore.Key, ConsumerToken> getConsumerTokens (String consumerKey)

public ConsumerToken put (ConsumerTokenStore.Key key, ConsumerToken token)

public void remove (ConsumerTokenStore.Key key)

public void removeTokensForConsumer (String consumerKey)

Protected Methods

protected ConsumerService getConsumerService ()