Class OAuthSchemaGenerator
- java.lang.Object
-
- org.linuxforhealth.fhir.schema.control.OAuthSchemaGenerator
-
public class OAuthSchemaGenerator extends java.lang.Object
Encapsulates the generation of the Liberty OAuth 2.0 schema artifacts
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OAUTH_GROUP
static java.lang.String
OAUTH_SCHEMANAME
-
Constructor Summary
Constructors Constructor Description OAuthSchemaGenerator(java.lang.String schemaName)
sets up the OAuth Schema with the given schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCacheTable(PhysicalDataModel model)
protected void
addClientConfigTable(PhysicalDataModel model)
protected void
addConsentCacheTable(PhysicalDataModel model)
void
buildOAuthSchema(PhysicalDataModel model)
Create the tables needed by the Liberty OAuthProvider databaseStoreprotected java.util.List<GroupPrivilege>
generateGroupPrivilege()
-
-
-
Field Detail
-
OAUTH_GROUP
public static final java.lang.String OAUTH_GROUP
- See Also:
- Constant Field Values
-
OAUTH_SCHEMANAME
public static final java.lang.String OAUTH_SCHEMANAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildOAuthSchema
public void buildOAuthSchema(PhysicalDataModel model)
Create the tables needed by the Liberty OAuthProvider databaseStore- Parameters:
model
-
-
generateGroupPrivilege
protected java.util.List<GroupPrivilege> generateGroupPrivilege()
-
addCacheTable
protected void addCacheTable(PhysicalDataModel model)
-
addClientConfigTable
protected void addClientConfigTable(PhysicalDataModel model)
-
addConsentCacheTable
protected void addConsentCacheTable(PhysicalDataModel model)
-
-