Package org.keycloak.services.managers
Class ApplianceBootstrap
java.lang.Object
org.keycloak.services.managers.ApplianceBootstrap
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidcreateMasterRealmUser(String username, String password) booleancreateTemporaryMasterRealmAdminService(String clientId, String clientSecret) Create a temporary admin service accountbooleancreateTemporaryMasterRealmAdminUser(String username, String password, boolean initialUser) Create a temporary admin userbooleanboolean 
- 
Constructor Details
- 
ApplianceBootstrap
 
 - 
 - 
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
Create a temporary admin service account- Parameters:
 clientId- the client IDclientSecret- the client secret- Returns:
 - false if the service account could not be created
 
 - 
createMasterRealmUser
 
 -