Re: Writing a customized principal builder for authorization

2016-11-30 Thread Martin Gainty
ot authenticate check Local Principal if(delegate.getLocalPrincipal()!=null) log.debug("principal name="+delegate.getLocalPrincipal().getName()); //throw Exception ..it really is that simple.. M- From: Mayuresh Gharat <gharatmayures...@gmail.com> Sent: W

Re: Writing a customized principal builder for authorization

2016-11-30 Thread Zac Harvey
be able to find that at startup? From: Mayuresh Gharat <gharatmayures...@gmail.com> Sent: Wednesday, November 30, 2016 12:51:14 PM To: users@kafka.apache.org Subject: Re: Writing a customized principal builder for authorization "principal.builder.class&q

Re: Writing a customized principal builder for authorization

2016-11-30 Thread gharatmayuresh15
Hi Kriti, You will have to implement the Principal Builder interface and provide the full class path in broker config. I don't remember the exact config name right now, but you can search for some config by name "principalbuilder.class" in the broker configs. Once you do this, Kafka will

Writing a customized principal builder for authorization

2016-11-30 Thread Kiriti Sai
Hi, Can anyone help me or point me to any resources that can be of help for writing a customized principal builder to use in Authorization using ACLs? I've enabled SSL authentication scheme for both clients and brokers but I would like to change the principal name to just the original name and

Re: Writing a customized principal builder for authorization using ACLs

2016-11-30 Thread Martin Gainty
riting a customized principal builder for authorization using ACLs Hi, Can anyone help me or point me to any resources that can be of help for writing a customized principal builder to use in Authorization using ACLs? I've enabled SSL authentication scheme for both clients and brokers but I woul

Writing a customized principal builder for authorization using ACLs

2016-11-30 Thread Kiriti Sai
Hi, Can anyone help me or point me to any resources that can be of help for writing a customized principal builder to use in Authorization using ACLs? I've enabled SSL authentication scheme for both clients and brokers but I would like to change the principal name to just the original name and