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 AuthenticationToken
clone()
Deprecated.void
destroy()
Deprecated.Set<AuthenticationToken.TokenProperty>
getProperties()
Deprecated.String
getServiceName()
Deprecated.void
init(AuthenticationToken.Properties properties)
Deprecated.boolean
isDestroyed()
Deprecated.void
readFields(DataInput in)
Deprecated.void
write(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:
write
in interfaceorg.apache.hadoop.io.Writable
-
readFields
public void readFields(DataInput in)
Deprecated.- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
-
destroy
public void destroy()
Deprecated.- Specified by:
destroy
in interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()
Deprecated.- Specified by:
isDestroyed
in interfaceDestroyable
-
init
public void init(AuthenticationToken.Properties properties)
Deprecated.- Specified by:
init
in interfaceAuthenticationToken
-
getProperties
public Set<AuthenticationToken.TokenProperty> getProperties()
Deprecated.- Specified by:
getProperties
in interfaceAuthenticationToken
-
clone
public AuthenticationToken clone()
Deprecated.- Specified by:
clone
in interfaceAuthenticationToken
- Overrides:
clone
in classObject
-
-