> On 一月 15, 2015, 8:43 a.m., shen guoquan wrote: > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryWebServer.java, > > line 99 > > <https://reviews.apache.org/r/29921/diff/1/?file=822479#file822479line99> > > > > you get the allowGroups from the configuration here, why not directly > > transfer the allowGropus to SentryAuthFilter class? > > Dapeng Sun wrote: > Hi Guoquan, thank you for your review, I tried before but it seems we can > only use "filterHolder.setInitParameters(Map<String,String> map)" to pass the > parameters. If you have any other idea, please let me know.
Ok, I know the reason. These patch looks good to me. It's a good job, Thanks dapeng. By the way, you can close the issue. - shen ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29921/#review68221 ----------------------------------------------------------- On 一月 15, 2015, 8:09 a.m., Dapeng Sun wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29921/ > ----------------------------------------------------------- > > (Updated 一月 15, 2015, 8:09 a.m.) > > > Review request for sentry, Xiaomeng Huang, Arun Suresh, Colin Ma, shen > guoquan, Lenni Kuff, Prasad Mujumdar, and Sravya Tirukkovalur. > > > Bugs: SENTRY-608 > https://issues.apache.org/jira/browse/SENTRY-608 > > > Repository: sentry > > > Description > ------- > > Add **allow.connect.groups** to conf, and using **GroupMappingService** get > user's groups, only user in allow groups can pass. > > > Diffs > ----- > > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryAuthFilter.java > PRE-CREATION > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/service/thrift/SentryWebServer.java > 090917c > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java > 47794bc > > sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/service/thrift/TestSentryWebServerWithKerberos.java > PRE-CREATION > > sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/service/thrift/SentryServiceIntegrationBase.java > 0bdc3a2 > > Diff: https://reviews.apache.org/r/29921/diff/ > > > Testing > ------- > > Unit Tests in local > > > Thanks, > > Dapeng Sun > >
