Class ApplianceBootstrap

java.lang.Object
org.keycloak.services.managers.ApplianceBootstrap

public class ApplianceBootstrap extends Object
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

  • Method Details

    • isNewInstall

      public boolean isNewInstall()
    • isNoMasterUser

      public boolean isNoMasterUser()
    • createMasterRealm

      public boolean createMasterRealm()
    • createTemporaryMasterRealmAdminUser

      public boolean createTemporaryMasterRealmAdminUser(String username, String password, boolean initialUser)
      Create a temporary admin user
      Parameters:
      username -
      password -
      initialUser - if true only create the user if no other users exist
      Returns:
      false if the user could not be created
    • createTemporaryMasterRealmAdminService

      public boolean createTemporaryMasterRealmAdminService(String clientId, String clientSecret)
      Create a temporary admin service account
      Parameters:
      clientId - the client ID
      clientSecret - the client secret
      Returns:
      false if the service account could not be created
    • createMasterRealmUser

      public void createMasterRealmUser(String username, String password)