Package com.ibm.fhir.schema.control
Class OAuthSchemaGenerator
- java.lang.Object
 - 
- com.ibm.fhir.schema.control.OAuthSchemaGenerator
 
 
- 
public class OAuthSchemaGenerator extends Object
Encapsulates the generation of the Liberty OAuth 2.0 schema artifacts 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringOAUTH_GROUPstatic StringOAUTH_SCHEMANAME 
- 
Constructor Summary
Constructors Constructor Description OAuthSchemaGenerator(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 List<GroupPrivilege>generateGroupPrivilege() 
 - 
 
- 
- 
Field Detail
- 
OAUTH_GROUP
public static final String OAUTH_GROUP
- See Also:
 - Constant Field Values
 
 
- 
OAUTH_SCHEMANAME
public static final String OAUTH_SCHEMANAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
OAuthSchemaGenerator
public OAuthSchemaGenerator(String schemaName)
sets up the OAuth Schema with the given schema.- Parameters:
 schemaName-
 
 - 
 
- 
Method Detail
- 
buildOAuthSchema
public void buildOAuthSchema(PhysicalDataModel model)
Create the tables needed by the Liberty OAuthProvider databaseStore- Parameters:
 model-
 
- 
generateGroupPrivilege
protected List<GroupPrivilege> generateGroupPrivilege()
 
- 
addCacheTable
protected void addCacheTable(PhysicalDataModel model)
 
- 
addClientConfigTable
protected void addClientConfigTable(PhysicalDataModel model)
 
- 
addConsentCacheTable
protected void addConsentCacheTable(PhysicalDataModel model)
 
 - 
 
 -