org.apache.accumulo.core.security
Class Credentials
java.lang.Object
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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Credentials
public Credentials(Instance instance,
String principal,
AuthenticationToken token)
toThrift
public TCredentials toThrift()
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.