Search in sources :

Example 1 with TAuthenticationTokenIdentifier

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);
    }
}
Also used : TAuthenticationTokenIdentifier(org.apache.accumulo.core.security.thrift.TAuthenticationTokenIdentifier) ThriftMessageUtil(org.apache.accumulo.core.util.ThriftMessageUtil)

Aggregations

TAuthenticationTokenIdentifier (org.apache.accumulo.core.security.thrift.TAuthenticationTokenIdentifier)1 ThriftMessageUtil (org.apache.accumulo.core.util.ThriftMessageUtil)1