Class JSONStoreProviders
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.cm.json.JSONStoreProviders
-
public class JSONStoreProviders extends Object
This centralized (and simplifies) the creation of the various stores needed to support JSON.Created by Jeff Gaynor
on 2/20/19 at 11:25 AM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JSONStoreProviders.JSONMemoryStore<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>
static class
JSONStoreProviders.JSONStoreFSProvider
static class
JSONStoreProviders.JSONStoreMSProvider
static class
JSONStoreProviders.JSONStoreSQLStoreProvider
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_STORE_COMPONENT
protected static JSONConverter<? extends edu.uiuc.ncsa.security.util.json.JSONEntry>
jsonConverter
protected static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends edu.uiuc.ncsa.security.util.json.JSONEntry>
jsonEntryProvider
protected static JSONStoreKeys
jsonStoreKeys
-
Constructor Summary
Constructors Constructor Description JSONStoreProviders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JSONStoreProviders.JSONStoreFSProvider
getJSFSP(org.apache.commons.configuration.tree.ConfigurationNode node)
static JSONStoreProviders.JSONStoreMSProvider
getJSMSP(org.apache.commons.configuration.tree.ConfigurationNode node)
static JSONConverter<? extends edu.uiuc.ncsa.security.util.json.JSONEntry>
getJsonConverter()
static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends edu.uiuc.ncsa.security.util.json.JSONEntry>
getJsonEntryProvider()
static JSONStoreKeys
getJsonStoreKeys()
static JSONStoreProviders.JSONStoreSQLStoreProvider
getMariaJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static JSONStoreProviders.JSONStoreSQLStoreProvider
getMySQLJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static JSONStoreProviders.JSONStoreSQLStoreProvider
getPostgresJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
-
-
Field Detail
-
JSON_STORE_COMPONENT
public static final String JSON_STORE_COMPONENT
- See Also:
- Constant Field Values
-
jsonEntryProvider
protected static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends edu.uiuc.ncsa.security.util.json.JSONEntry> jsonEntryProvider
-
jsonConverter
protected static JSONConverter<? extends edu.uiuc.ncsa.security.util.json.JSONEntry> jsonConverter
-
jsonStoreKeys
protected static JSONStoreKeys jsonStoreKeys
-
-
Method Detail
-
getJsonEntryProvider
public static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends edu.uiuc.ncsa.security.util.json.JSONEntry> getJsonEntryProvider()
-
getJsonStoreKeys
public static JSONStoreKeys getJsonStoreKeys()
-
getJsonConverter
public static JSONConverter<? extends edu.uiuc.ncsa.security.util.json.JSONEntry> getJsonConverter()
-
getJSFSP
public static JSONStoreProviders.JSONStoreFSProvider getJSFSP(org.apache.commons.configuration.tree.ConfigurationNode node)
-
getJSMSP
public static JSONStoreProviders.JSONStoreMSProvider getJSMSP(org.apache.commons.configuration.tree.ConfigurationNode node)
-
getMariaJS
public static JSONStoreProviders.JSONStoreSQLStoreProvider getMariaJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getMySQLJS
public static JSONStoreProviders.JSONStoreSQLStoreProvider getMySQLJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getPostgresJS
public static JSONStoreProviders.JSONStoreSQLStoreProvider getPostgresJS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
-