public class DelegationTokenStub extends Object implements AuthenticationToken
AuthenticationToken.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
Constructor and Description |
---|
DelegationTokenStub(String serviceName) |
Modifier and Type | Method and Description |
---|---|
AuthenticationToken |
clone() |
void |
destroy() |
Set<AuthenticationToken.TokenProperty> |
getProperties() |
String |
getServiceName() |
void |
init(AuthenticationToken.Properties properties) |
boolean |
isDestroyed() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public DelegationTokenStub(String serviceName)
public String getServiceName()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void destroy() throws DestroyFailedException
destroy
in interface Destroyable
DestroyFailedException
public boolean isDestroyed()
isDestroyed
in interface Destroyable
public void init(AuthenticationToken.Properties properties)
init
in interface AuthenticationToken
public Set<AuthenticationToken.TokenProperty> getProperties()
getProperties
in interface AuthenticationToken
public AuthenticationToken clone()
clone
in interface AuthenticationToken
clone
in class Object
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.