Package org.apache.hadoop.ipc.TestSaslRPC

Examples of org.apache.hadoop.ipc.TestSaslRPC.CustomSecurityInfo


  private void makeSecure(Configuration conf) {
    conf.set(HADOOP_SECURITY_AUTHENTICATION, "kerberos");
    conf.set("hadoop.rpc.socket.factory.class.default", "");
    //Avro doesn't work with security annotations on protocol.
    //Avro works ONLY with custom security context
    SecurityUtil.setSecurityInfoProviders(new CustomSecurityInfo());
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.ipc.TestSaslRPC.CustomSecurityInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.