Uses of Class
org.keycloak.credential.CredentialModel
Package
Description
-
Uses of CredentialModel in org.keycloak.authentication
Modifier and TypeMethodDescriptiondefault List<CredentialModel>
CredentialValidator.getCredentials
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of CredentialModel in org.keycloak.credential
Modifier and TypeMethodDescriptionCredentialProvider.createCredential
(RealmModel realm, UserModel user, T credentialModel) OTPCredentialProvider.createCredential
(RealmModel realm, UserModel user, OTPCredentialModel credentialModel) PasswordCredentialProvider.createCredential
(RealmModel realm, UserModel user, PasswordCredentialModel credentialModel) RecoveryAuthnCodesCredentialProvider.createCredential
(RealmModel realm, UserModel user, RecoveryAuthnCodesCredentialModel credentialModel) UserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) UserCredentialStoreManager.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) Deprecated.WebAuthnCredentialProvider.createCredential
(RealmModel realm, UserModel user, WebAuthnCredentialModel credentialModel) LegacyUserCredentialManager.createCredentialThroughProvider
(CredentialModel model) UserCredentialStoreManager.createCredentialThroughProvider
(RealmModel realm, UserModel user, CredentialModel model) Deprecated.LegacyUserCredentialManager.createStoredCredential
(CredentialModel cred) CredentialMetadata.getCredentialModel()
LegacyUserCredentialManager.getStoredCredentialById
(String id) UserCredentialStore.getStoredCredentialById
(RealmModel realm, UserModel user, String id) UserCredentialStoreManager.getStoredCredentialById
(RealmModel realm, UserModel user, String id) Deprecated.LegacyUserCredentialManager.getStoredCredentialByNameAndType
(String name, String type) UserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) UserCredentialStoreManager.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) Deprecated.CredentialModel.shallowClone()
Modifier and TypeMethodDescriptionstatic Comparator<CredentialModel>
CredentialModel.comparingByStartDateDesc()
LegacyUserCredentialManager.getStoredCredentialsByTypeStream
(String type) UserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) Obtains the stored credentials associated with the specified user that match the specified type.UserCredentialStoreManager.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) Deprecated.LegacyUserCredentialManager.getStoredCredentialsStream()
UserCredentialStore.getStoredCredentialsStream
(RealmModel realm, UserModel user) Obtains the stored credentials associated with the specified user.UserCredentialStoreManager.getStoredCredentialsStream
(RealmModel realm, UserModel user) Deprecated.Modifier and TypeMethodDescriptionUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) UserCredentialStoreManager.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) Deprecated.LegacyUserCredentialManager.createCredentialThroughProvider
(CredentialModel model) UserCredentialStoreManager.createCredentialThroughProvider
(RealmModel realm, UserModel user, CredentialModel model) Deprecated.LegacyUserCredentialManager.createStoredCredential
(CredentialModel cred) CredentialProvider.getCredentialFromModel
(CredentialModel model) OTPCredentialProvider.getCredentialFromModel
(CredentialModel model) PasswordCredentialProvider.getCredentialFromModel
(CredentialModel model) RecoveryAuthnCodesCredentialProvider.getCredentialFromModel
(CredentialModel model) WebAuthnCredentialProvider.getCredentialFromModel
(CredentialModel model) void
CredentialMetadata.setCredentialModel
(CredentialModel credentialModel) void
UserCredentialStore.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
UserCredentialStoreManager.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) Deprecated.void
LegacyUserCredentialManager.updateStoredCredential
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.credential.hash
Modifier and TypeMethodDescriptiondefault void
PasswordHashProvider.encode
(String rawPassword, int iterations, CredentialModel credential) Deprecated.Exists due the backwards compatibility.default boolean
PasswordHashProvider.policyCheck
(PasswordPolicy policy, CredentialModel credential) Deprecated.Exists due the backwards compatibility.default boolean
PasswordHashProvider.verify
(String rawPassword, CredentialModel credential) Deprecated.Exists due the backwards compatibility. -
Uses of CredentialModel in org.keycloak.exportimport.util
Modifier and TypeMethodDescriptionstatic CredentialRepresentation
ExportUtils.exportCredential
(CredentialModel userCred) -
Uses of CredentialModel in org.keycloak.forms.login.freemarker.model
-
Uses of CredentialModel in org.keycloak.models
Modifier and TypeMethodDescriptionSubjectCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.UserCredentialManager.createCredentialThroughProvider
(RealmModel realm, UserModel user, CredentialModel model) Deprecated.Creates a credential from the credentialModel, by looping through the providers to find a match for the typeSubjectCredentialManager.createStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
.SubjectCredentialManager.getStoredCredentialById
(String id) Read a stored credential.SubjectCredentialManager.getStoredCredentialByNameAndType
(String name, String type) Modifier and TypeMethodDescriptionSubjectCredentialManager.getStoredCredentialsByTypeStream
(String type) Read stored credentials by type as a stream.SubjectCredentialManager.getStoredCredentialsStream()
Read stored credentials as a stream.Modifier and TypeMethodDescriptionSubjectCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.UserCredentialManager.createCredentialThroughProvider
(RealmModel realm, UserModel user, CredentialModel model) Deprecated.Creates a credential from the credentialModel, by looping through the providers to find a match for the typeSubjectCredentialManager.createStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
.void
SubjectCredentialManager.updateStoredCredential
(CredentialModel cred) Updates a credential of the entity with an updatedCredentialModel
. -
Uses of CredentialModel in org.keycloak.models.cache.infinispan
Modifier and TypeMethodDescriptionSubjectCredentialManagerCacheAdapter.createCredentialThroughProvider
(CredentialModel model) SubjectCredentialManagerCacheAdapter.createStoredCredential
(CredentialModel cred) Modifier and TypeMethodDescriptionSubjectCredentialManagerCacheAdapter.createCredentialThroughProvider
(CredentialModel model) SubjectCredentialManagerCacheAdapter.createStoredCredential
(CredentialModel cred) void
SubjectCredentialManagerCacheAdapter.updateStoredCredential
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.models.cache.infinispan.entities
-
Uses of CredentialModel in org.keycloak.models.credential
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeMethodDescriptionstatic OTPCredentialModel
OTPCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) static PasswordCredentialModel
PasswordCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) RecoveryAuthnCodesCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) static WebAuthnCredentialModel
WebAuthnCredentialModel.createFromCredentialModel
(CredentialModel credentialModel) -
Uses of CredentialModel in org.keycloak.models.jpa
Modifier and TypeMethodDescriptionJpaUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserCredentialStore.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserProvider.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) JpaUserProvider.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) protected CredentialModel
JpaUserProvider.toModel
(CredentialEntity entity) Modifier and TypeMethodDescriptionJpaUserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserProvider.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserCredentialStore.getStoredCredentialsStream
(RealmModel realm, UserModel user) JpaUserProvider.getStoredCredentialsStream
(RealmModel realm, UserModel user) Modifier and TypeMethodDescriptionJpaUserCredentialStore.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserCredentialStore.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserProvider.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred) -
Uses of CredentialModel in org.keycloak.models.map.credential
Modifier and TypeMethodDescriptionMapUserCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.MapUserCredentialManager.createStoredCredential
(CredentialModel cred) MapUserCredentialManager.getStoredCredentialById
(String id) MapUserCredentialManager.getStoredCredentialByNameAndType
(String name, String type) Modifier and TypeMethodDescriptionMapUserCredentialManager.getStoredCredentialsByTypeStream
(String type) MapUserCredentialManager.getStoredCredentialsStream()
Modifier and TypeMethodDescriptionMapUserCredentialManager.createCredentialThroughProvider
(CredentialModel model) Deprecated.MapUserCredentialManager.createStoredCredential
(CredentialModel cred) void
MapUserCredentialManager.updateStoredCredential
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.models.map.user
Modifier and TypeMethodDescriptionstatic CredentialModel
MapUserCredentialEntity.toModel
(MapUserCredentialEntity entity) Modifier and TypeMethodDescriptionstatic MapUserCredentialEntity
MapUserCredentialEntity.fromModel
(CredentialModel model) -
Uses of CredentialModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic CredentialModel
RepresentationToModel.toModel
(CredentialRepresentation cred) Modifier and TypeMethodDescriptionstatic CredentialRepresentation
ModelToRepresentation.toRepresentation
(CredentialModel cred) -
Uses of CredentialModel in org.keycloak.storage.federated
Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.createCredential
(RealmModel realm, String userId, CredentialModel cred) UserFederatedUserCredentialStore.getStoredCredentialById
(RealmModel realm, String userId, String id) UserFederatedUserCredentialStore.getStoredCredentialByNameAndType
(RealmModel realm, String userId, String name, String type) Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.getStoredCredentialsByTypeStream
(RealmModel realm, String userId, String type) Obtains the credentials of typetype
that are associated with the federated user identified byuserId
.UserFederatedUserCredentialStore.getStoredCredentialsStream
(RealmModel realm, String userId) Obtains the credentials associated with the federated user identified byuserId
.Modifier and TypeMethodDescriptionUserFederatedUserCredentialStore.createCredential
(RealmModel realm, String userId, CredentialModel cred) void
UserFederatedUserCredentialStore.updateCredential
(RealmModel realm, String userId, CredentialModel cred) -
Uses of CredentialModel in org.keycloak.storage.jpa
Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.createCredential
(RealmModel realm, String userId, CredentialModel cred) JpaUserFederatedStorageProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) JpaUserFederatedStorageProvider.getStoredCredentialById
(RealmModel realm, String userId, String id) JpaUserFederatedStorageProvider.getStoredCredentialById
(RealmModel realm, UserModel user, String id) JpaUserFederatedStorageProvider.getStoredCredentialByNameAndType
(RealmModel realm, String userId, String name, String type) JpaUserFederatedStorageProvider.getStoredCredentialByNameAndType
(RealmModel realm, UserModel user, String name, String type) protected CredentialModel
JpaUserFederatedStorageProvider.toModel
(FederatedUserCredentialEntity entity) Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.getStoredCredentialsByTypeStream
(RealmModel realm, String userId, String type) JpaUserFederatedStorageProvider.getStoredCredentialsByTypeStream
(RealmModel realm, UserModel user, String type) JpaUserFederatedStorageProvider.getStoredCredentialsStream
(RealmModel realm, String userId) JpaUserFederatedStorageProvider.getStoredCredentialsStream
(RealmModel realm, UserModel user) Modifier and TypeMethodDescriptionJpaUserFederatedStorageProvider.createCredential
(RealmModel realm, String userId, CredentialModel cred) JpaUserFederatedStorageProvider.createCredential
(RealmModel realm, UserModel user, CredentialModel cred) void
JpaUserFederatedStorageProvider.updateCredential
(RealmModel realm, String userId, CredentialModel cred) void
JpaUserFederatedStorageProvider.updateCredential
(RealmModel realm, UserModel user, CredentialModel cred)