Package org.keycloak.migration.migrators
Class MigrationUtils
java.lang.Object
org.keycloak.migration.migrators.MigrationUtils
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAdminRole
(RealmModel realm, String roleName) static boolean
static void
migrateOldOfflineToken
(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user) static void
static void
static void
-
Constructor Details
-
MigrationUtils
public MigrationUtils()
-
-
Method Details
-
addAdminRole
-
updateOTPRequiredAction
-
updateProtocolMappers
-
migrateOldOfflineToken
public static void migrateOldOfflineToken(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user) throws OAuthErrorException - Throws:
OAuthErrorException
-
setDefaultClientAuthenticatorType
-
isOIDCNonBearerOnlyClient
-