Class KMSClientProvider.KMSTokenRenewer

  • Enclosing class:
    KMSClientProvider

    public static class KMSClientProvider.KMSTokenRenewer
    extends org.apache.hadoop.security.token.TokenRenewer
    The KMS implementation of TokenRenewer.
    • Constructor Detail

      • KMSTokenRenewer

        public KMSTokenRenewer()
    • Method Detail

      • handleKind

        public boolean handleKind​(org.apache.hadoop.io.Text kind)
        Specified by:
        handleKind in class org.apache.hadoop.security.token.TokenRenewer
      • isManaged

        public boolean isManaged​(org.apache.hadoop.security.token.Token<?> token)
                          throws IOException
        Specified by:
        isManaged in class org.apache.hadoop.security.token.TokenRenewer
        Throws:
        IOException
      • renew

        public long renew​(org.apache.hadoop.security.token.Token<?> token,
                          org.apache.hadoop.conf.Configuration conf)
                   throws IOException
        Specified by:
        renew in class org.apache.hadoop.security.token.TokenRenewer
        Throws:
        IOException
      • cancel

        public void cancel​(org.apache.hadoop.security.token.Token<?> token,
                           org.apache.hadoop.conf.Configuration conf)
                    throws IOException
        Specified by:
        cancel in class org.apache.hadoop.security.token.TokenRenewer
        Throws:
        IOException