public abstract class Credentials extends RpcAuthInfo
RpcAuthInfo.AuthFlavor
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
protected int |
mCredentialsLength |
Modifier | Constructor and Description |
---|---|
protected |
Credentials(RpcAuthInfo.AuthFlavor flavor) |
Modifier and Type | Method and Description |
---|---|
static Credentials |
readFlavorAndCredentials(XDR xdr) |
static void |
writeFlavorAndCredentials(Credentials cred,
XDR xdr)
Write AuthFlavor and the credentials to the XDR
|
getFlavor, read, toString, write
public static final org.apache.commons.logging.Log LOG
protected int mCredentialsLength
protected Credentials(RpcAuthInfo.AuthFlavor flavor)
public static Credentials readFlavorAndCredentials(XDR xdr)
public static void writeFlavorAndCredentials(Credentials cred, XDR xdr)
Copyright © 2013 Apache Software Foundation. All rights reserved.