Interface AuthenticatedUserProvider

All Known Implementing Classes:
AuthenticatedUserProviderSpringSecurity

public interface AuthenticatedUserProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the username of the currently logged in user or null if no user can be found.
    Returns the currently logged in user or null if no user can be found.
  • Method Details

    • getAuthenticatedUsername

      @Nullable String getAuthenticatedUsername()
      Returns the username of the currently logged in user or null if no user can be found.
      Returns:
      The user name of the logged in user or null
    • getCrowdUserDetails

      CrowdUserDetails getCrowdUserDetails()
      Returns the currently logged in user or null if no user can be found.
      Returns:
      The logged in user or null