Class UserCredentialsFactory

java.lang.Object
com.linkedin.venice.hadoop.ssl.UserCredentialsFactory

public class UserCredentialsFactory extends Object
  • Field Details

    • REQUIRED_SECRET_KEY_COUNT

      public static final int REQUIRED_SECRET_KEY_COUNT
      See Also:
  • Constructor Details

    • UserCredentialsFactory

      public UserCredentialsFactory()
  • Method Details

    • getHadoopUserCredentials

      public static org.apache.hadoop.security.Credentials getHadoopUserCredentials() throws IOException
      Get user's credentials from the current Hadoop user group context.
      Throws:
      IOException
    • getUserCredentialsFromTokenFile

      public static org.apache.hadoop.security.Credentials getUserCredentialsFromTokenFile() throws IOException
      Get user's credentials from the the Hadoop token file
      Throws:
      IOException