Class DelegationTokenStub
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.mapreduce.DelegationTokenStub
-
- All Implemented Interfaces:
Cloneable,Destroyable,AuthenticationToken,org.apache.hadoop.io.Writable
@Deprecated public class DelegationTokenStub extends Object implements AuthenticationToken
Deprecated.since 2.0.0An internal stub class for passing DelegationToken information out of the Configuration back up to the appropriate implementation for mapreduce or mapred.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.security.tokens.AuthenticationToken
AuthenticationToken.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
-
-
Constructor Summary
Constructors Constructor Description DelegationTokenStub(String serviceName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthenticationTokenclone()Deprecated.voiddestroy()Deprecated.Set<AuthenticationToken.TokenProperty>getProperties()Deprecated.StringgetServiceName()Deprecated.voidinit(AuthenticationToken.Properties properties)Deprecated.booleanisDestroyed()Deprecated.voidreadFields(DataInput in)Deprecated.voidwrite(DataOutput out)Deprecated.
-
-
-
Constructor Detail
-
DelegationTokenStub
public DelegationTokenStub(String serviceName)
Deprecated.
-
-
Method Detail
-
getServiceName
public String getServiceName()
Deprecated.
-
write
public void write(DataOutput out)
Deprecated.- Specified by:
writein interfaceorg.apache.hadoop.io.Writable
-
readFields
public void readFields(DataInput in)
Deprecated.- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable
-
destroy
public void destroy()
Deprecated.- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()
Deprecated.- Specified by:
isDestroyedin interfaceDestroyable
-
init
public void init(AuthenticationToken.Properties properties)
Deprecated.- Specified by:
initin interfaceAuthenticationToken
-
getProperties
public Set<AuthenticationToken.TokenProperty> getProperties()
Deprecated.- Specified by:
getPropertiesin interfaceAuthenticationToken
-
clone
public AuthenticationToken clone()
Deprecated.- Specified by:
clonein interfaceAuthenticationToken- Overrides:
clonein classObject
-
-