Package com.ibm.fhir.schema.control
Class OAuthSchemaGenerator
- java.lang.Object
-
- com.ibm.fhir.schema.control.OAuthSchemaGenerator
-
public class OAuthSchemaGenerator extends java.lang.ObjectEncapsulates the generation of the Liberty OAuth 2.0 schema artifacts
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOAUTH_GROUPstatic java.lang.StringOAUTH_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 voidaddCacheTable(PhysicalDataModel model)protected voidaddClientConfigTable(PhysicalDataModel model)protected voidaddConsentCacheTable(PhysicalDataModel model)voidbuildOAuthSchema(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)
-
-