Class SecurityContextHolder

java.lang.Object
org.sklsft.commons.rest.security.context.SecurityContextHolder

public class SecurityContextHolder extends Object
A security context is handled by a ThreadLocal
Author:
Nicolas Thibault, Abdessalam El Jai, Alexandre Rupp
  • Constructor Details

    • SecurityContextHolder

      public SecurityContextHolder()
  • Method Details

    • bindContext

      public static void bindContext(Object context)
    • unbindContext

      public static void unbindContext()
    • getContextOrNull

      public static Object getContextOrNull()
    • getContext

      public static Object getContext()