com.atlassian.jira.oauth.serviceprovider
Class OfBizServiceProviderConsumerStore
java.lang.Object
com.atlassian.jira.oauth.serviceprovider.OfBizServiceProviderConsumerStore
- All Implemented Interfaces:
- com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
public class OfBizServiceProviderConsumerStore
- extends Object
- implements com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
OfBiz Consumer Store implementation. This store is responsible for persisting a white list of OAuth consumers that
can be edited by admins in JIRA's admin section. This list will most likely not be very large.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
IS_2LO_ALLOWED_DEFAULT
public static final boolean IS_2LO_ALLOWED_DEFAULT
- See Also:
- Constant Field Values
OfBizServiceProviderConsumerStore
public OfBizServiceProviderConsumerStore(OfBizDelegator delegator)
put
public void put(com.atlassian.oauth.Consumer consumer)
throws com.atlassian.oauth.serviceprovider.StoreException
- Specified by:
put
in interface com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
- Throws:
com.atlassian.oauth.serviceprovider.StoreException
get
public com.atlassian.oauth.Consumer get(String key)
throws com.atlassian.oauth.serviceprovider.StoreException
- Specified by:
get
in interface com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
- Throws:
com.atlassian.oauth.serviceprovider.StoreException
remove
public void remove(String key)
throws com.atlassian.oauth.serviceprovider.StoreException
- Specified by:
remove
in interface com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
- Throws:
com.atlassian.oauth.serviceprovider.StoreException
getAll
public Iterable<com.atlassian.oauth.Consumer> getAll()
throws com.atlassian.oauth.serviceprovider.StoreException
- Specified by:
getAll
in interface com.atlassian.oauth.serviceprovider.ServiceProviderConsumerStore
- Throws:
com.atlassian.oauth.serviceprovider.StoreException
Copyright © 2002-2014 Atlassian. All Rights Reserved.