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 void
addAccessCodeLoginTimeout()
protected void
addDefaultProtocolMappers()
protected void
addNewMasterAdminRoles()
protected void
addNewRealmAdminRoles()
protected void
convertSocialToIdFedRealms()
protected void
convertSocialToIdFedUsers()
protected void
generateStatementsImpl()
It's supposed to fill SQL statements to the "statements" variable and fill "confirmationMessage"protected String
getTaskId()
-
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:
getTaskId
in classCustomKeycloakTask
-
generateStatementsImpl
protected void generateStatementsImpl() throws liquibase.exception.CustomChangeException
Description copied from class:CustomKeycloakTask
It's supposed to fill SQL statements to the "statements" variable and fill "confirmationMessage"- Specified by:
generateStatementsImpl
in classCustomKeycloakTask
- Throws:
liquibase.exception.CustomChangeException
-
convertSocialToIdFedRealms
protected void convertSocialToIdFedRealms() throws SQLException, liquibase.exception.DatabaseException
- Throws:
SQLException
liquibase.exception.DatabaseException
-
convertSocialToIdFedUsers
protected void convertSocialToIdFedUsers() throws SQLException, liquibase.exception.DatabaseException
- Throws:
SQLException
liquibase.exception.DatabaseException
-
addAccessCodeLoginTimeout
protected void addAccessCodeLoginTimeout()
-
addNewMasterAdminRoles
protected void addNewMasterAdminRoles() throws SQLException, liquibase.exception.DatabaseException
- Throws:
SQLException
liquibase.exception.DatabaseException
-
addNewRealmAdminRoles
protected void addNewRealmAdminRoles() throws SQLException, liquibase.exception.DatabaseException
- Throws:
SQLException
liquibase.exception.DatabaseException
-
addDefaultProtocolMappers
protected void addDefaultProtocolMappers() throws SQLException, liquibase.exception.DatabaseException
- Throws:
SQLException
liquibase.exception.DatabaseException
-
-