Class PermissionStoreProviders
- java.lang.Object
-
- org.oa4mp.server.api.permissions.admin.PermissionStoreProviders
-
public class PermissionStoreProviders extends Object
Created by Jeff Gaynor
on 10/19/16 at 12:01 PM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PermissionStoreProviders.FSPermissionStoreProvider
static class
PermissionStoreProviders.MemoryPermissionStoreProvider<V>
static class
PermissionStoreProviders.SQLPermissionStoreProvider
-
Field Summary
Fields Modifier and Type Field Description protected static PermissionConverter<? extends Permission>
permissionConverter
protected static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission>
permissionProvider
-
Constructor Summary
Constructors Constructor Description PermissionStoreProviders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PermissionStoreProviders.SQLPermissionStoreProvider
getDerbyPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static PermissionStoreProviders.FSPermissionStoreProvider
getFSP(org.apache.commons.configuration.tree.ConfigurationNode node)
static PermissionStoreProviders.MemoryPermissionStoreProvider<? extends PermissionMemoryStore>
getM(org.apache.commons.configuration.tree.ConfigurationNode node)
static PermissionStoreProviders.SQLPermissionStoreProvider
getMariaPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static PermissionStoreProviders.SQLPermissionStoreProvider
getMysqlPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static PermissionConverter<? extends Permission>
getPermissionConverter()
static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission>
getPermissionProvider()
static PermissionStoreProviders.SQLPermissionStoreProvider
getPostgresPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
static void
setPermissionConverter(PermissionConverter<? extends Permission> permissionConverter)
static void
setPermissionProvider(edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission> permissionProvider)
-
-
-
Field Detail
-
permissionProvider
protected static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission> permissionProvider
-
permissionConverter
protected static PermissionConverter<? extends Permission> permissionConverter
-
-
Method Detail
-
getPermissionProvider
public static edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission> getPermissionProvider()
-
setPermissionProvider
public static void setPermissionProvider(edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<? extends Permission> permissionProvider)
-
getPermissionConverter
public static PermissionConverter<? extends Permission> getPermissionConverter()
-
setPermissionConverter
public static void setPermissionConverter(PermissionConverter<? extends Permission> permissionConverter)
-
getFSP
public static PermissionStoreProviders.FSPermissionStoreProvider getFSP(org.apache.commons.configuration.tree.ConfigurationNode node)
-
getMariaPS
public static PermissionStoreProviders.SQLPermissionStoreProvider getMariaPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getPostgresPS
public static PermissionStoreProviders.SQLPermissionStoreProvider getPostgresPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getDerbyPS
public static PermissionStoreProviders.SQLPermissionStoreProvider getDerbyPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getMysqlPS
public static PermissionStoreProviders.SQLPermissionStoreProvider getMysqlPS(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp)
-
getM
public static PermissionStoreProviders.MemoryPermissionStoreProvider<? extends PermissionMemoryStore> getM(org.apache.commons.configuration.tree.ConfigurationNode node)
-
-