public interface IdentityStore
Modifier and Type | Method and Description |
---|---|
void |
add(LDAPObject ldapObject)
Persists the specified IdentityType
|
int |
countQueryResults(LDAPQuery LDAPQuery) |
List<LDAPObject> |
fetchQueryResults(LDAPQuery LDAPQuery) |
LDAPConfig |
getConfig()
Returns the configuration for this IdentityStore instance
|
void |
remove(LDAPObject ldapObject)
Removes the specified IdentityType
|
void |
update(LDAPObject ldapObject)
Updates the specified IdentityType
|
void |
updatePassword(LDAPObject user,
String password)
Updates the specified credential value.
|
void |
validatePassword(LDAPObject user,
String password)
Validates the specified credentials.
|
LDAPConfig getConfig()
void add(LDAPObject ldapObject)
ldapObject
- void update(LDAPObject ldapObject)
ldapObject
- void remove(LDAPObject ldapObject)
ldapObject
- List<LDAPObject> fetchQueryResults(LDAPQuery LDAPQuery)
int countQueryResults(LDAPQuery LDAPQuery)
void validatePassword(LDAPObject user, String password) throws AuthenticationException
user
- Keycloak userpassword
- Ldap passwordAuthenticationException
- if authentication is not successfulvoid updatePassword(LDAPObject user, String password)
user
- Keycloak userpassword
- Ldap passwordCopyright © 2016 JBoss by Red Hat. All rights reserved.