org.apache.hadoop.security
Class ProviderUtils

java.lang.Object
  extended by org.apache.hadoop.security.ProviderUtils

public class ProviderUtils
extends Object


Constructor Summary
ProviderUtils()
           
 
Method Summary
static Path unnestUri(URI nestedUri)
          Convert a nested URI to decode the underlying path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderUtils

public ProviderUtils()
Method Detail

unnestUri

public static Path unnestUri(URI nestedUri)
Convert a nested URI to decode the underlying path. The translation takes the authority and parses it into the underlying scheme and authority. For example, "myscheme://hdfs@nn/my/path" is converted to "hdfs://nn/my/path".

Parameters:
nestedUri - the URI from the nested URI
Returns:
the unnested path


Copyright © 2014 Apache Software Foundation. All Rights Reserved.