Package org.keycloak.credential
Interface CredentialInputUpdater
-
- All Known Subinterfaces:
CredentialInputUpdater.Streams
- All Known Implementing Classes:
KerberosFederationProvider
,LDAPStorageProvider
,PasswordCredentialProvider
,SSSDFederationProvider
public interface CredentialInputUpdater
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CredentialInputUpdater.Streams
Deprecated.This interface is no longer necessary, collection-based methods were removed from the parent interface and therefore the parent interface can be used directly
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
disableCredentialType(RealmModel realm, UserModel user, String credentialType)
Stream<String>
getDisableableCredentialTypesStream(RealmModel realm, UserModel user)
Obtains the set of credential types that can be disabled viadisableCredentialType
.boolean
supportsCredentialType(String credentialType)
boolean
updateCredential(RealmModel realm, UserModel user, CredentialInput input)
-
-
-
Method Detail
-
supportsCredentialType
boolean supportsCredentialType(String credentialType)
-
updateCredential
boolean updateCredential(RealmModel realm, UserModel user, CredentialInput input)
-
disableCredentialType
void disableCredentialType(RealmModel realm, UserModel user, String credentialType)
-
getDisableableCredentialTypesStream
Stream<String> getDisableableCredentialTypesStream(RealmModel realm, UserModel user)
Obtains the set of credential types that can be disabled viadisableCredentialType
.- Parameters:
realm
- a reference to the realm.user
- the user whose credentials are being searched.- Returns:
- a non-null
Stream
of credential types.
-
-