Class KeycloakUserRepositoryImpl
java.lang.Object
net.andresbustamante.yafoot.users.repository.impl.KeycloakUserRepositoryImpl
- All Implemented Interfaces:
net.andresbustamante.yafoot.users.repository.UserRepository
@Component
public class KeycloakUserRepositoryImpl
extends Object
implements net.andresbustamante.yafoot.users.repository.UserRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUser
(net.andresbustamante.yafoot.users.model.User user) net.andresbustamante.yafoot.users.model.User
findUserByEmail
(String email) void
updateUser
(net.andresbustamante.yafoot.users.model.User user)
-
Constructor Details
-
KeycloakUserRepositoryImpl
public KeycloakUserRepositoryImpl(org.keycloak.admin.client.Keycloak keycloak)
-
-
Method Details
-
updateUser
public void updateUser(net.andresbustamante.yafoot.users.model.User user) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException - Specified by:
updateUser
in interfacenet.andresbustamante.yafoot.users.repository.UserRepository
- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-
deleteUser
public void deleteUser(net.andresbustamante.yafoot.users.model.User user) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException - Specified by:
deleteUser
in interfacenet.andresbustamante.yafoot.users.repository.UserRepository
- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-
findUserByEmail
public net.andresbustamante.yafoot.users.model.User findUserByEmail(String email) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException - Specified by:
findUserByEmail
in interfacenet.andresbustamante.yafoot.users.repository.UserRepository
- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-