org.apache.accumulo.core.security
Class Credentials

java.lang.Object
  extended by org.apache.accumulo.core.security.Credentials

public class Credentials
extends Object

A wrapper for internal use. This class carries the instance, principal, and authentication token for use in the public API, in a non-serialized form. This is important, so that the authentication token carried in a Connector can be destroyed, invalidating future RPC operations from that Connector.


Constructor Summary
Credentials(Instance instance, String principal, AuthenticationToken token)
           
 
Method Summary
 TCredentials toThrift()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials(Instance instance,
                   String principal,
                   AuthenticationToken token)
Method Detail

toThrift

public TCredentials toThrift()


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.