Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23194

Remove unused methods from TokenUtil

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 3.0.0-alpha-1
    • None
    • None
    • None
    • Hide
      Removed methods from TokenUtil:

      1. public static CompletableFuture<Token<AuthenticationTokenIdentifier>>
      obtainToken(AsyncConnection conn)
      2. public static Token<AuthenticationTokenIdentifier>
      obtainToken(Connection conn)
      3. public static AuthenticationProtos.Token
      toToken(Token<AuthenticationTokenIdentifier> token)
      4. public static Token<AuthenticationTokenIdentifier> obtainToken(
      Connection conn, User user)
      5. public static Token<AuthenticationTokenIdentifier> toToken(AuthenticationProtos.Token proto)
      6. private static Text getClusterId(Token<AuthenticationTokenIdentifier> token)

      Deprecated:
      1. public static void obtainAndCacheToken(Connection conn, User user)
      Show
      Removed methods from TokenUtil: 1. public static CompletableFuture<Token<AuthenticationTokenIdentifier>> obtainToken(AsyncConnection conn) 2. public static Token<AuthenticationTokenIdentifier> obtainToken(Connection conn) 3. public static AuthenticationProtos.Token toToken(Token<AuthenticationTokenIdentifier> token) 4. public static Token<AuthenticationTokenIdentifier> obtainToken( Connection conn, User user) 5. public static Token<AuthenticationTokenIdentifier> toToken(AuthenticationProtos.Token proto) 6. private static Text getClusterId(Token<AuthenticationTokenIdentifier> token) Deprecated: 1. public static void obtainAndCacheToken(Connection conn, User user)

    Description

      Cleanup TokenUtil: remove unused methods from TokenUtil. For util methods to obtain Authentication tokens, ClientTokenUtil should be used where possible (in absence of hbase-server dependency)

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: