[jira] [Created] (FLINK-19952) flink SecurityOptions.class use depracted method so mant times

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19952) flink SecurityOptions.class use depracted method so mant times

Shang Yuanchun (Jira)
jackylau created FLINK-19952:
--------------------------------

             Summary: flink SecurityOptions.class use depracted method so mant 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
             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)