com.atlassian.jira.oauth.consumer
Class DefaultHostConsumerAndSecretProvider

java.lang.Object
  extended by com.atlassian.jira.oauth.consumer.DefaultHostConsumerAndSecretProvider
All Implemented Interfaces:
com.atlassian.oauth.consumer.core.HostConsumerAndSecretProvider

public class DefaultHostConsumerAndSecretProvider
extends Object
implements com.atlassian.oauth.consumer.core.HostConsumerAndSecretProvider

Provides the default consumer and secret for this JIRA instance.

Since:
v4.0

Field Summary
static String HOST_SERVICENAME
           
 
Constructor Summary
DefaultHostConsumerAndSecretProvider(ApplicationProperties applicationProperties, com.atlassian.oauth.consumer.core.ConsumerServiceStore consumerStore, CurrentApplicationFactory currentApplicationFactory)
           
 
Method Summary
 com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret get()
           
 com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret put(com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret consumerAndSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_SERVICENAME

public static final String HOST_SERVICENAME
See Also:
Constant Field Values
Constructor Detail

DefaultHostConsumerAndSecretProvider

public DefaultHostConsumerAndSecretProvider(ApplicationProperties applicationProperties,
                                            com.atlassian.oauth.consumer.core.ConsumerServiceStore consumerStore,
                                            CurrentApplicationFactory currentApplicationFactory)
Method Detail

get

public com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret get()
Specified by:
get in interface com.atlassian.oauth.consumer.core.HostConsumerAndSecretProvider

put

public com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret put(com.atlassian.oauth.consumer.core.ConsumerServiceStore.ConsumerAndSecret consumerAndSecret)
Specified by:
put in interface com.atlassian.oauth.consumer.core.HostConsumerAndSecretProvider


Copyright © 2002-2013 Atlassian. All Rights Reserved.