Class JpaUpdate1_2_0_Beta1
- java.lang.Object
-
- org.keycloak.connections.jpa.updater.liquibase.custom.CustomKeycloakTask
-
- org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate1_2_0_Beta1
-
- All Implemented Interfaces:
liquibase.change.custom.CustomChange,liquibase.change.custom.CustomSqlChange
public class JpaUpdate1_2_0_Beta1 extends CustomKeycloakTask
- Author:
- Marek Posolda
-
-
Field Summary
-
Fields inherited from class org.keycloak.connections.jpa.updater.liquibase.custom.CustomKeycloakTask
confirmationMessage, connection, database, jdbcConnection, kcSession, statements
-
-
Constructor Summary
Constructors Constructor Description JpaUpdate1_2_0_Beta1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAccessCodeLoginTimeout()protected voidaddDefaultProtocolMappers()protected voidaddNewMasterAdminRoles()protected voidaddNewRealmAdminRoles()protected voidconvertSocialToIdFedRealms()protected voidconvertSocialToIdFedUsers()protected voidgenerateStatementsImpl()It's supposed to fill SQL statements to the "statements" variable and fill "confirmationMessage"protected StringgetTaskId()-
Methods inherited from class org.keycloak.connections.jpa.updater.liquibase.custom.CustomKeycloakTask
generateStatements, getConfirmationMessage, getTableName, isApplicable, setFileOpener, setUp, validate
-
-
-
-
Method Detail
-
getTaskId
protected String getTaskId()
- Specified by:
getTaskIdin classCustomKeycloakTask
-
generateStatementsImpl
protected void generateStatementsImpl() throws liquibase.exception.CustomChangeExceptionDescription copied from class:CustomKeycloakTaskIt's supposed to fill SQL statements to the "statements" variable and fill "confirmationMessage"- Specified by:
generateStatementsImplin classCustomKeycloakTask- Throws:
liquibase.exception.CustomChangeException
-
convertSocialToIdFedRealms
protected void convertSocialToIdFedRealms() throws SQLException, liquibase.exception.DatabaseException- Throws:
SQLExceptionliquibase.exception.DatabaseException
-
convertSocialToIdFedUsers
protected void convertSocialToIdFedUsers() throws SQLException, liquibase.exception.DatabaseException- Throws:
SQLExceptionliquibase.exception.DatabaseException
-
addAccessCodeLoginTimeout
protected void addAccessCodeLoginTimeout()
-
addNewMasterAdminRoles
protected void addNewMasterAdminRoles() throws SQLException, liquibase.exception.DatabaseException- Throws:
SQLExceptionliquibase.exception.DatabaseException
-
addNewRealmAdminRoles
protected void addNewRealmAdminRoles() throws SQLException, liquibase.exception.DatabaseException- Throws:
SQLExceptionliquibase.exception.DatabaseException
-
addDefaultProtocolMappers
protected void addDefaultProtocolMappers() throws SQLException, liquibase.exception.DatabaseException- Throws:
SQLExceptionliquibase.exception.DatabaseException
-
-