[
https://issues.apache.org/jira/browse/SENTRY-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16031850#comment-16031850
]
Alexander Kolbasov commented on SENTRY-1744:
--------------------------------------------
[~spena] Good question - I asked the question in SENTRY-404. My guess is that
at the time there was a desire to make everything generic since there was no
real experience with using this class and possibly there were thoughts of some
other implementation which never materialized.
> Simplify creation of DelegateSentryStore
> ----------------------------------------
>
> Key: SENTRY-1744
> URL: https://issues.apache.org/jira/browse/SENTRY-1744
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Affects Versions: 1.8.0, sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Attachments: SENTRY-1744.001.patch
>
>
> It looks like we have a very "generic" code in SentryGenericPolicyProcessor
> that creates DelegateSentryStore based on the class name which may be changed
> in configuration. This is very cute, but sounds quite complicated to me. I
> don't know the history here, but I would suggest removing this and just
> creating DelegateSentryStore directly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)