| Modifier and Type | Method and Description |
|---|---|
PasswordHashProvider |
Pbkdf2PasswordHashProvider.create(KeycloakSession session) |
static UserCredentialValueModel |
PasswordHashManager.encode(KeycloakSession session,
PasswordPolicy passwordPolicy,
String rawPassword) |
static UserCredentialValueModel |
PasswordHashManager.encode(KeycloakSession session,
RealmModel realm,
String rawPassword) |
static boolean |
PasswordHashManager.verify(KeycloakSession session,
PasswordPolicy passwordPolicy,
String password,
UserCredentialValueModel credential) |
static boolean |
PasswordHashManager.verify(KeycloakSession session,
RealmModel realm,
String password,
UserCredentialValueModel credential) |
| Modifier and Type | Method and Description |
|---|---|
UserFederationSyncResult |
UserFederationMapper.syncDataFromFederationProviderToKeycloak(UserFederationMapperModel mapperModel,
UserFederationProvider federationProvider,
KeycloakSession session,
RealmModel realm)
Sync data from federation storage to Keycloak.
|
UserFederationSyncResult |
UserFederationMapper.syncDataFromKeycloakToFederationProvider(UserFederationMapperModel mapperModel,
UserFederationProvider federationProvider,
KeycloakSession session,
RealmModel realm)
Sync data from Keycloak back to federation storage
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MigrationModelManager.migrate(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
MigrateTo1_4_0.migrate(KeycloakSession session) |
void |
MigrateTo1_8_0.migrate(KeycloakSession session) |
void |
MigrationTo1_2_0_CR1.migrate(KeycloakSession session) |
void |
MigrateTo1_7_0.migrate(KeycloakSession session) |
void |
MigrateTo1_5_0.migrate(KeycloakSession session) |
void |
MigrateTo1_6_0.migrate(KeycloakSession session) |
void |
MigrateTo1_3_0.migrate(KeycloakSession session) |
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
UserFederationManager.session |
| Modifier and Type | Method and Description |
|---|---|
KeycloakSession |
KeycloakSessionFactory.create() |
| Modifier and Type | Method and Description |
|---|---|
UserFederationProvider |
UserFederationProviderFactory.create(KeycloakSession session)
This method is never called and is only an artifact of ProviderFactory.
|
UserFederationProvider |
UserFederationProviderFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model)
called per Keycloak transaction.
|
void |
KeycloakSessionTask.run(KeycloakSession session) |
static void |
ImpersonationConstants.setupImpersonationService(KeycloakSession session,
RealmModel realm) |
PasswordPolicy.Error |
PasswordPolicy.validate(KeycloakSession session,
String user,
String password) |
PasswordPolicy.Error |
PasswordPolicy.validate(KeycloakSession session,
UserModel user,
String password) |
CredentialValidationOutput |
UserProvider.validCredentials(KeycloakSession session,
RealmModel realm,
UserCredentialModel... input) |
CredentialValidationOutput |
UserFederationManager.validCredentials(KeycloakSession session,
RealmModel realm,
UserCredentialModel... input) |
boolean |
UserProvider.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
List<UserCredentialModel> input) |
boolean |
UserFederationManager.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
List<UserCredentialModel> input) |
boolean |
UserProvider.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
UserCredentialModel... input) |
boolean |
UserFederationManager.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
UserCredentialModel... input) |
| Constructor and Description |
|---|
UserFederationManager(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
UserSessionPersisterProvider |
DisabledUserSessionPersisterProvider.create(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
static ClientModel |
RepresentationToModel.createClient(KeycloakSession session,
RealmModel realm,
ClientRepresentation resourceRep,
boolean addDefaultRoles)
Does not create scope or role mappings!
|
static ClientTemplateModel |
RepresentationToModel.createClientTemplate(KeycloakSession session,
RealmModel realm,
ClientTemplateRepresentation resourceRep) |
static UserModel |
RepresentationToModel.createUser(KeycloakSession session,
RealmModel newRealm,
UserRepresentation userRep,
Map<String,ClientModel> clientMap) |
static UserModel |
KeycloakModelUtils.findUserByNameOrEmail(KeycloakSession session,
RealmModel realm,
String username)
Try to find user by given username.
|
static void |
RepresentationToModel.importRealm(KeycloakSession session,
RealmRepresentation rep,
RealmModel newRealm) |
static boolean |
CredentialValidation.validateHashedCredential(KeycloakSession session,
RealmModel realm,
UserModel user,
String unhashedCredValue,
UserCredentialValueModel credential) |
static boolean |
CredentialValidation.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
List<UserCredentialModel> credentials)
Must validate all credentials.
|
static boolean |
CredentialValidation.validCredentials(KeycloakSession session,
RealmModel realm,
UserModel user,
UserCredentialModel... credentials)
Must validate all credentials.
|
static boolean |
CredentialValidation.validPassword(KeycloakSession session,
RealmModel realm,
UserModel user,
String password)
Will update password if hash iteration policy has changed
|
| Modifier and Type | Method and Description |
|---|---|
T |
ProviderFactory.create(KeycloakSession session) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.