public class CredentialsProvider extends Object
Constructor and Description |
---|
CredentialsProvider(String type) |
Modifier and Type | Method and Description |
---|---|
Credentials |
createCredentialObject()
Create Credential object
|
static void |
ensureKerberosLogin()
Relogs into Kerberos using the Keytab for the Oozie server user.
|
String |
Trim(String str)
To trim string
|
public static final String CRED_KEY
public CredentialsProvider(String type)
public Credentials createCredentialObject() throws Exception
Exception
public static void ensureKerberosLogin() throws IOException
Credentials
implementations to ensure that the Kerberos credentials are current and won't expire too soon.IOException
Copyright © 2016 Apache Software Foundation. All rights reserved.