You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jackylau (Jira)" <ji...@apache.org> on 2020/11/03 11:02:00 UTC
[jira] [Commented] (FLINK-19952) flink SecurityOptions.class use
depracted method so many times
[ https://issues.apache.org/jira/browse/FLINK-19952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225299#comment-17225299 ]
jackylau commented on FLINK-19952:
----------------------------------
https://github.com/apache/flink/pull/13904/files
> flink SecurityOptions.class use depracted method so many times
> --------------------------------------------------------------
>
> Key: FLINK-19952
> URL: https://issues.apache.org/jira/browse/FLINK-19952
> Project: Flink
> Issue Type: Bug
> Components: API / Core
> Affects Versions: 1.11.0
> Reporter: jackylau
> Priority: Major
> Fix For: 1.12.0
>
>
> we should use it in this way
> {code:java}
> // code placeholder
> public static final ConfigOption<Boolean> KERBEROS_LOGIN_USETICKETCACHE =
> key("security.kerberos.login.use-ticket-cache")
> .booleanType()
> .defaultValue(true)
> .withDescription("Indicates whether to read from your Kerberos ticket cache.");
> {code}
> instead of
> {code:java}
> public static final ConfigOption<Boolean> KERBEROS_LOGIN_USETICKETCACHE = key("security.kerberos.login.use-ticket-cache")
> .defaultValue(true)
> .withDescription("Indicates whether to read from your Kerberos ticket cache.");
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)