hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Demai Ni <nid...@gmail.com>
Subject Re: java implementation like security.rb (ACL grant, revoke, etc.)
Date Sat, 21 Jun 2014 22:03:01 GMT
hi, Andrew,

the grant() and revoke() look like what I need for a java client call.
Thanks for the help

Demai


On Sat, Jun 21, 2014 at 11:08 AM, Andrew Purtell <apurtell@apache.org>
wrote:

> That is test only code. Ted shouldn't be giving you a pointer to it.
> Everything in test/ is private and can change arbitrarily at any time at
> our option.
>
> You want to look at AccessControlClient in hbase-client. If there are
> things you'd like to see there which are currently missing, please file a
> JIRA and consider providing a patch.
>
>
> On Fri, Jun 20, 2014 at 9:40 PM, Demai Ni <nidmgg@gmail.com> wrote:
>
> > Ted, Thanks a lot… Demai
> >
> >
> > On Fri, Jun 20, 2014 at 7:35 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > For 0.98+, please take a look at:
> > >
> > >
> >
> hbase-server//src/test/java/org/apache/hadoop/hbase/security/access/SecureTestUtil.java
> > >
> > > where you can find grantGlobal(), etc.
> > >
> > > Cheers
> > >
> > >
> > > On Fri, Jun 20, 2014 at 3:12 PM, Demai Ni <nidmgg@gmail.com> wrote:
> > >
> > > > hi, folks,
> > > >
> > > > I am looking for java API that can do 'grant','revoke' etc, which is
> > > > exactly the functions implemented in security.rb. So that the
> function
> > > can
> > > > be called through java client.
> > > >
> > > > It is kind of straigtforward to do a syntax translation from jruby to
> > > java.
> > > > Well, just like to check whether we have something like it already?
> > > >
> > > > btw, I am on both 94 and 98. Many thanks
> > > >
> > > > Demai
> > > >
> > >
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message