Interface UserAuthoritiesProvider

All Known Implementing Classes:
UserAuthoritiesProviderImpl

public interface UserAuthoritiesProvider
Manually handle username to authorities mapping, rather than depending on the groups they belong to
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a list of authority names for the given user.
  • Method Details

    • getAuthorityNames

      List<String> getAuthorityNames(String username)
      Provides a list of authority names for the given user. eg. ROLE_SYS_ADMIN
      Parameters:
      username - user to request
      Returns:
      list of authority names