Class MaprAuthMethod

java.lang.Object
org.apache.hadoop.security.rpcauth.RpcAuthMethod
org.apache.hadoop.security.rpcauth.MaprAuthMethod

public final class MaprAuthMethod extends org.apache.hadoop.security.rpcauth.RpcAuthMethod
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.commons.logging.Log
     

    Fields inherited from class org.apache.hadoop.security.rpcauth.RpcAuthMethod

    authcode, authenticationMethod, mechanismName, simpleName
  • Method Summary

    Modifier and Type
    Method
    Description
     
    createSaslClient(Map<String,Object> saslProperties)
     
    createSaslServer(org.apache.hadoop.ipc.Server.Connection connection, Map<String,Object> saslProperties)
     
     
     
    org.apache.hadoop.security.UserGroupInformation
    getUser(org.apache.hadoop.security.UserGroupInformation ticket)
     
    boolean
     
    boolean
     
     
    void
    writeUGI(org.apache.hadoop.security.UserGroupInformation ugi, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder ugiProto)
     

    Methods inherited from class org.apache.hadoop.security.rpcauth.RpcAuthMethod

    equals, getAuthCode, getAuthenticationMethod, getAuthorizedUgi, getMechanismName, hashCode, isProxyAllowed, reLogin, shouldReLogin, toString, write

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • LOG

      public static final org.apache.commons.logging.Log LOG
  • Method Details

    • loginModules

      public String[] loginModules()
      Overrides:
      loginModules in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
    • getUser

      public org.apache.hadoop.security.UserGroupInformation getUser(org.apache.hadoop.security.UserGroupInformation ticket)
      Overrides:
      getUser in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
    • writeUGI

      public void writeUGI(org.apache.hadoop.security.UserGroupInformation ugi, org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder ugiProto)
      Overrides:
      writeUGI in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
    • isSasl

      public boolean isSasl()
      Overrides:
      isSasl in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
    • isNegotiable

      public boolean isNegotiable()
      Overrides:
      isNegotiable in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
    • getProtocol

      public String getProtocol() throws IOException
      Overrides:
      getProtocol in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
      Throws:
      IOException
    • getServerId

      public String getServerId() throws IOException
      Overrides:
      getServerId in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
      Throws:
      IOException
    • createSaslClient

      public SaslClient createSaslClient(Map<String,Object> saslProperties) throws IOException
      Overrides:
      createSaslClient in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
      Throws:
      IOException
    • createSaslServer

      public SaslServer createSaslServer(org.apache.hadoop.ipc.Server.Connection connection, Map<String,Object> saslProperties) throws IOException, InterruptedException
      Overrides:
      createSaslServer in class org.apache.hadoop.security.rpcauth.RpcAuthMethod
      Throws:
      IOException
      InterruptedException
    • createCallbackHandler

      public CallbackHandler createCallbackHandler()
      Overrides:
      createCallbackHandler in class org.apache.hadoop.security.rpcauth.RpcAuthMethod