Interface UserRepository

All Superinterfaces:
org.springframework.security.core.userdetails.UserDetailsService
All Known Implementing Classes:
AbstractDatabaseUserRepository, CompositeUserRepository, InMemoryUserRepository, LdapUserRepository

public interface UserRepository extends org.springframework.security.core.userdetails.UserDetailsService
An extended UserDetailsService defining methods specific to Jmix.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.userdetails.UserDetails
    Returns the built-in 'anonymous' user.
    List<? extends org.springframework.security.core.userdetails.UserDetails>
    Returns the list of users whose username contains the given substring.
    org.springframework.security.core.userdetails.UserDetails
    Returns the built-in 'system' user.

    Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsService

    loadUserByUsername
  • Method Details

    • getSystemUser

      org.springframework.security.core.userdetails.UserDetails getSystemUser()
      Returns the built-in 'system' user.
    • getAnonymousUser

      org.springframework.security.core.userdetails.UserDetails getAnonymousUser()
      Returns the built-in 'anonymous' user.
    • getByUsernameLike

      List<? extends org.springframework.security.core.userdetails.UserDetails> getByUsernameLike(String substring)
      Returns the list of users whose username contains the given substring.