org.apache.hadoop.oncrpc
Class RpcAuthInfo

java.lang.Object
  extended by org.apache.hadoop.oncrpc.RpcAuthInfo

public class RpcAuthInfo
extends Object

Authentication Info as defined in RFC 1831


Nested Class Summary
static class RpcAuthInfo.AuthFlavor
          Different types of authentication as defined in RFC 1831
 
Constructor Summary
protected RpcAuthInfo(RpcAuthInfo.AuthFlavor flavor, byte[] body)
           
 
Method Summary
 byte[] getBody()
           
 RpcAuthInfo.AuthFlavor getFlavor()
           
static RpcAuthInfo read(XDR xdr)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RpcAuthInfo

protected RpcAuthInfo(RpcAuthInfo.AuthFlavor flavor,
                      byte[] body)
Method Detail

read

public static RpcAuthInfo read(XDR xdr)

getFlavor

public RpcAuthInfo.AuthFlavor getFlavor()

getBody

public byte[] getBody()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation