Class SpinnakerUsers

java.lang.Object
com.netflix.spinnaker.security.SpinnakerUsers

public class SpinnakerUsers extends Object
Constants and utilities related to Spinnaker users (AKA principals).
  • Field Details

  • Constructor Details

    • SpinnakerUsers

      public SpinnakerUsers()
  • Method Details

    • getUserId

      public static String getUserId(@Nullable org.springframework.security.core.Authentication authentication)
      Gets the userid of the provided authentication token.
    • getCurrentUserId

      public static String getCurrentUserId()
      Gets the current Spinnaker userid.