Methods
Modifier and Type |
Method and Description |
void |
addComposites(RoleModel role,
RoleRepresentation roleRep,
RealmModel realm) |
void |
addRequiredCredential(RealmModel newRealm,
String requiredCred) |
protected List<AuthenticationProviderModel> |
convertAuthenticationProviders(List<AuthenticationProviderRepresentation> authenticationProviders) |
protected Map<String,ApplicationModel> |
createApplications(RealmRepresentation rep,
RealmModel realm) |
protected void |
createOAuthClients(RealmRepresentation realmRep,
RealmModel realm) |
RealmModel |
createRealm(String name) |
RealmModel |
createRealm(String id,
String name) |
void |
createRole(RealmModel newRealm,
ApplicationModel app,
RoleRepresentation roleRep) |
void |
createRole(RealmModel newRealm,
RoleRepresentation roleRep) |
UserModel |
createUser(RealmModel newRealm,
UserRepresentation userRep) |
static UserCredentialModel |
fromRepresentation(CredentialRepresentation cred) |
void |
generateRealmKeys(RealmModel realm) |
String |
getContextPath() |
RealmModel |
getKeycloakAdminstrationRealm() |
String |
getMasterRealmAdminApplicationName(RealmModel realm) |
RealmModel |
getRealm(String id) |
String |
getRealmAdminApplicationName(RealmModel realm) |
RealmModel |
getRealmByName(String name) |
RealmModel |
importRealm(RealmRepresentation rep) |
void |
importRealm(RealmRepresentation rep,
RealmModel newRealm) |
boolean |
removeRealm(RealmModel realm) |
List<UserModel> |
searchUsers(String searchString,
RealmModel realmModel)
Query users based on a search string:
"Bill Burke" first and last name
"bburke@redhat.com" email
"Burke" lastname or username
|
void |
setContextPath(String contextPath) |
protected void |
setupAdminConsole(RealmModel realm) |
protected void |
setupRealmDefaults(RealmModel realm) |
void |
updateRealm(RealmRepresentation rep,
RealmModel realm) |
void |
updateRealmAudit(RealmAuditRepresentation rep,
RealmModel realm) |