org.apache.hadoop.security
Interface IdMappingServiceProvider


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface IdMappingServiceProvider

An interface for the implementation of mapping and mapping


Method Summary
 int getGid(String group)
           
 int getGidAllowingUnknown(String group)
           
 String getGroupName(int gid, String unknown)
           
 int getUid(String user)
           
 int getUidAllowingUnknown(String user)
           
 String getUserName(int uid, String unknown)
           
 

Method Detail

getUid

int getUid(String user)
           throws IOException
Throws:
IOException

getGid

int getGid(String group)
           throws IOException
Throws:
IOException

getUserName

String getUserName(int uid,
                   String unknown)

getGroupName

String getGroupName(int gid,
                    String unknown)

getUidAllowingUnknown

int getUidAllowingUnknown(String user)

getGidAllowingUnknown

int getGidAllowingUnknown(String group)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.