Class AuthenticationContext

java.lang.Object
com.datahub.authentication.AuthenticationContext

public class AuthenticationContext extends Object
A static wrapper around a ThreadLocal instance of Authentication containing information about the currently authenticated actor.
  • Method Details

    • getAuthentication

      public static Authentication getAuthentication()
    • setAuthentication

      public static void setAuthentication(Authentication authentication)
    • remove

      public static void remove()