org.apache.oozie.action.hadoop
Class CredentialsProvider

java.lang.Object
  extended by org.apache.oozie.action.hadoop.CredentialsProvider

public class CredentialsProvider
extends Object


Constructor Summary
CredentialsProvider(String type)
           
 
Method Summary
 Credentials createCredentialObject()
          Create Credential object
 String Trim(String str)
          To trim string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialsProvider

public CredentialsProvider(String type)
Method Detail

createCredentialObject

public Credentials createCredentialObject()
                                   throws Exception
Create Credential object

Returns:
Credential object
Throws:
Exception

Trim

public String Trim(String str)
To trim string

Parameters:
str -
Returns:
trim string


Copyright © 2013 Apache Software Foundation. All Rights Reserved.