Package org.apache.hadoop.crypto.key.kms
Class KMSClientProvider.KMSTokenRenewer
- java.lang.Object
-
- org.apache.hadoop.security.token.TokenRenewer
-
- org.apache.hadoop.crypto.key.kms.KMSClientProvider.KMSTokenRenewer
-
- Enclosing class:
- KMSClientProvider
public static class KMSClientProvider.KMSTokenRenewer extends org.apache.hadoop.security.token.TokenRenewerThe KMS implementation ofTokenRenewer.
-
-
Constructor Summary
Constructors Constructor Description KMSTokenRenewer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf)booleanhandleKind(org.apache.hadoop.io.Text kind)booleanisManaged(org.apache.hadoop.security.token.Token<?> token)longrenew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf)
-
-
-
Method Detail
-
handleKind
public boolean handleKind(org.apache.hadoop.io.Text kind)
- Specified by:
handleKindin classorg.apache.hadoop.security.token.TokenRenewer
-
isManaged
public boolean isManaged(org.apache.hadoop.security.token.Token<?> token) throws IOException- Specified by:
isManagedin classorg.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:
renewin classorg.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:
cancelin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOException
-
-