Package com.linkedin.venice.hadoop.ssl
Class UserCredentialsFactory
java.lang.Object
com.linkedin.venice.hadoop.ssl.UserCredentialsFactory
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.hadoop.security.CredentialsGet user's credentials from the current Hadoop user group context.static org.apache.hadoop.security.CredentialsGet user's credentials from the the Hadoop token file
- 
Field Details- 
REQUIRED_SECRET_KEY_COUNTpublic static final int REQUIRED_SECRET_KEY_COUNT- See Also:
 
 
- 
- 
Constructor Details- 
UserCredentialsFactorypublic UserCredentialsFactory()
 
- 
- 
Method Details- 
getHadoopUserCredentialsGet user's credentials from the current Hadoop user group context.- Throws:
- IOException
 
- 
getUserCredentialsFromTokenFilepublic static org.apache.hadoop.security.Credentials getUserCredentialsFromTokenFile() throws IOExceptionGet user's credentials from the the Hadoop token file- Throws:
- IOException
 
 
-