Interface UserProvider

All Known Implementing Classes:
JAASUserProvider, NoOpUserProvider, SingleUserProvider, ThreadLocalUserProvider

public interface UserProvider
Implementations of this class a responsible to identify the current user acting in the application.
Author:
Christian Kaltepoth
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a FeatureUser instance representing the current user.
  • Method Details

    • getCurrentUser

      FeatureUser getCurrentUser()
      Return a FeatureUser instance representing the current user. This method should return null if the implementation is unable to determine the user.
      Returns:
      current user or null