use of org.apache.accumulo.core.security.thrift.TAuthenticationTokenIdentifier in project accumulo by apache.
the class AuthenticationTokenIdentifier method readFields.
@Override
public void readFields(DataInput in) throws IOException {
int length = in.readInt();
if (length > 0) {
ThriftMessageUtil msgUtil = new ThriftMessageUtil();
byte[] serialized = new byte[length];
in.readFully(serialized);
impl = new TAuthenticationTokenIdentifier();
msgUtil.deserialize(serialized, impl);
}
}
Aggregations