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 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 interface net.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 interface net.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 interface net.andresbustamante.yafoot.users.repository.UserRepository
      Throws:
      net.andresbustamante.yafoot.commons.exceptions.DirectoryException