Package com.linkedin.venice.hadoop.ssl
Class UserCredentialsFactory
java.lang.Object
com.linkedin.venice.hadoop.ssl.UserCredentialsFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.security.Credentials
Get user's credentials from the current Hadoop user group context.static org.apache.hadoop.security.Credentials
Get user's credentials from the the Hadoop token file
-
Field Details
-
REQUIRED_SECRET_KEY_COUNT
public static final int REQUIRED_SECRET_KEY_COUNT- See Also:
-
-
Constructor Details
-
UserCredentialsFactory
public UserCredentialsFactory()
-
-
Method Details
-
getHadoopUserCredentials
Get user's credentials from the current Hadoop user group context.- Throws:
IOException
-
getUserCredentialsFromTokenFile
public static org.apache.hadoop.security.Credentials getUserCredentialsFromTokenFile() throws IOExceptionGet user's credentials from the the Hadoop token file- Throws:
IOException
-