@InterfaceAudience.Private
public abstract class YARNDelegationTokenIdentifier
extends org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
Constructor and Description |
---|
YARNDelegationTokenIdentifier() |
YARNDelegationTokenIdentifier(org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
org.apache.hadoop.io.Text realUser) |
YARNDelegationTokenIdentifier(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder builder) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto |
getProto() |
static YARNDelegationTokenIdentifier |
newInstance(org.apache.hadoop.io.Text owner,
org.apache.hadoop.io.Text renewer,
org.apache.hadoop.io.Text realUser) |
void |
readFields(DataInput in) |
void |
readFieldsInOldFormat(DataInput in) |
void |
write(DataOutput out) |
void |
writeInOldFormat(DataOutput out) |
equals, getIssueDate, getKind, getMasterKeyId, getMaxDate, getOwner, getRealUser, getRenewer, getSequenceNumber, getUser, hashCode, isEqual, setIssueDate, setMasterKeyId, setMaxDate, setOwner, setRealUser, setRenewer, setSequenceNumber, toString, toStringStable
public YARNDelegationTokenIdentifier()
public YARNDelegationTokenIdentifier(org.apache.hadoop.io.Text owner, org.apache.hadoop.io.Text renewer, org.apache.hadoop.io.Text realUser)
public YARNDelegationTokenIdentifier(org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto.Builder builder)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
readFields
in class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
IOException
public void readFieldsInOldFormat(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
write
in class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier
IOException
@VisibleForTesting public void writeInOldFormat(DataOutput out) throws IOException
IOException
public org.apache.hadoop.yarn.proto.YarnSecurityTokenProtos.YARNDelegationTokenIdentifierProto getProto()
@InterfaceAudience.Private @InterfaceStability.Unstable public static YARNDelegationTokenIdentifier newInstance(org.apache.hadoop.io.Text owner, org.apache.hadoop.io.Text renewer, org.apache.hadoop.io.Text realUser)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.