You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/02/21 10:42:00 UTC

[jira] [Closed] (FLINK-11589) Introduce service provider pattern for user to dynamically load SecurityFactory classes

     [ https://issues.apache.org/jira/browse/FLINK-11589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek closed FLINK-11589.
------------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed

master: 40857d968df15e74e1dee869b7d4ab072cbdb668

> Introduce service provider pattern for user to dynamically load SecurityFactory classes
> ---------------------------------------------------------------------------------------
>
>                 Key: FLINK-11589
>                 URL: https://issues.apache.org/jira/browse/FLINK-11589
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>            Reporter: Rong Rong
>            Assignee: Rong Rong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently there are only 3 security modules in Flink - Hadoop, Zookeeper and JaaS, all of which are pre-loaded to the Flink security runtime with one hard-coded path for instantiating SecurityContext, which is used invoke use code with PrivilegedExceptionAction.
> We propose to introduce a [service provider pattern|https://docs.oracle.com/javase/tutorial/ext/basics/spi.html] to allow users to dynamically load {{SecurityModuleFactory}} or even introduce a new {{SecurityContextFactory}} so that security runtime modules/context can be set by dynamically loading any 3rd party JAR. The discover or these modules are currently designed to go through property configurations.
> This is especially useful in a corporate environment where proprietary security technologies are involved.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)