Package | Description |
---|---|
org.keycloak.exportimport.util | |
org.keycloak.models.utils | |
org.keycloak.partialimport | |
org.keycloak.representations.idm | |
org.keycloak.services.resources.admin |
Modifier and Type | Method and Description |
---|---|
static UserRepresentation |
ExportUtils.exportUser(KeycloakSession session,
RealmModel realm,
UserModel user)
Full export of user (including role mappings and credentials)
|
Modifier and Type | Method and Description |
---|---|
static UserRepresentation |
ModelToRepresentation.toRepresentation(UserModel user) |
Modifier and Type | Method and Description |
---|---|
static void |
RepresentationToModel.createCredentials(UserRepresentation userRep,
UserModel user) |
static void |
RepresentationToModel.createRoleMappings(UserRepresentation userRep,
UserModel user,
RealmModel realm) |
static UserModel |
RepresentationToModel.createUser(KeycloakSession session,
RealmModel newRealm,
UserRepresentation userRep) |
Modifier and Type | Method and Description |
---|---|
List<UserRepresentation> |
UsersPartialImport.getRepList(PartialImportRepresentation partialImportRep) |
Modifier and Type | Method and Description |
---|---|
void |
UsersPartialImport.create(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
boolean |
UsersPartialImport.exists(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
String |
UsersPartialImport.existsMessage(UserRepresentation user) |
String |
UsersPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
String |
UsersPartialImport.getName(UserRepresentation user) |
void |
UsersPartialImport.remove(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
Modifier and Type | Field and Description |
---|---|
protected List<UserRepresentation> |
RealmRepresentation.users |
protected List<UserRepresentation> |
PartialImportRepresentation.users |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
UserRepresentation.singleAttribute(String name,
String value) |
UserRepresentation |
RealmRepresentation.user(String username) |
Modifier and Type | Method and Description |
---|---|
List<UserRepresentation> |
RealmRepresentation.getUsers() |
List<UserRepresentation> |
PartialImportRepresentation.getUsers() |
Modifier and Type | Method and Description |
---|---|
void |
RealmRepresentation.setUsers(List<UserRepresentation> users) |
void |
PartialImportRepresentation.setUsers(List<UserRepresentation> users) |
Modifier and Type | Method and Description |
---|---|
UserRepresentation |
ClientResource.getServiceAccountUser()
Get a user dedicated to the service account
|
UserRepresentation |
UsersResource.getUser(String id)
Get represenation of the user
|
Modifier and Type | Method and Description |
---|---|
List<UserRepresentation> |
GroupResource.getMembers(Integer firstResult,
Integer maxResults)
Get users
Returns a list of users, filtered according to query parameters
|
List<UserRepresentation> |
UsersResource.getUsers(String search,
String last,
String first,
String email,
String username,
Integer firstResult,
Integer maxResults)
Get users
Returns a list of users, filtered according to query parameters
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UsersResource.createUser(javax.ws.rs.core.UriInfo uriInfo,
UserRepresentation rep)
Create a new user
Username must be unique.
|
javax.ws.rs.core.Response |
UsersResource.updateUser(String id,
UserRepresentation rep)
Update the user
|
static void |
UsersResource.updateUserFromRep(UserModel user,
UserRepresentation rep,
Set<String> attrsToRemove,
RealmModel realm,
KeycloakSession session,
boolean removeMissingRequiredActions) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.