Re: HBase rest custom authentication

2016-11-03 Thread kumar r
Thank you for your reply. @Ted actually i am implementing Authentication Handler to secure HBase Rest service gateway. I don't have any idea to secure HBase thrift server with authentication. I don't want to enable security for HBase services but i want to secure HBase rest service alone. How can

Re: HBase rest custom authentication

2016-11-02 Thread Jerry He
The reason your custom authentication does not work is probably due to HBASE-12231. It does not get invoked. The code snippet that Ted copied is inside "if keberos security". The AuthFilter itself can handle custom authentication class. But AuthFilter is not added in your case. Jerry On

Re: HBase rest custom authentication

2016-11-02 Thread Ted Yu
>From RESTServer.java : if (conf.get(REST_AUTHENTICATION_TYPE) != null) { containerClass = RESTServletContainer.class; FilterHolder authFilter = new FilterHolder(); authFilter.setClassName(AuthFilter.class.getName());

HBase rest custom authentication

2016-11-02 Thread kumar r
I want to enable custom authentication for HBase rest server in a normal cluster (not secured) I have implemented custom authentication class by implementing Hadoop Authentication Handler I have set the property hbase.rest.authentication.type custom.class.name But still it didn't