@InterfaceStability.Unstable @InterfaceAudience.Public public interface ImpersonationProvider extends Configurable
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | authorize(org.apache.hadoop.security.UserGroupInformation user,
         String remoteAddress)Authorize the superuser which is doing doAs | 
| void | init(String configurationPrefix)Specifies the configuration prefix for the proxy user properties and
 initializes the provider. | 
getConf, setConfvoid init(String configurationPrefix)
configurationPrefix - the configuration prefix for the proxy user
 propertiesvoid authorize(org.apache.hadoop.security.UserGroupInformation user, String remoteAddress) throws org.apache.hadoop.security.authorize.AuthorizationException
user - ugi of the effective or proxy user which contains a real userremoteAddress - the ip address of clientorg.apache.hadoop.security.authorize.AuthorizationExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.