org.apache.hadoop.oncrpc.security
Class RpcAuthInfo

java.lang.Object
  extended by org.apache.hadoop.oncrpc.security.RpcAuthInfo
Direct Known Subclasses:
Credentials, Verifier

public abstract class RpcAuthInfo
extends Object

Authentication Info. Base class of Verifier and Credential.


Nested Class Summary
static class RpcAuthInfo.AuthFlavor
          Different types of authentication as defined in RFC 1831
 
Constructor Summary
protected RpcAuthInfo(RpcAuthInfo.AuthFlavor flavor)
           
 
Method Summary
 RpcAuthInfo.AuthFlavor getFlavor()
           
abstract  void read(XDR xdr)
          Load auth info
 String toString()
           
abstract  void write(XDR xdr)
          Write auth info
 
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)
Method Detail

read

public abstract void read(XDR xdr)
Load auth info


write

public abstract void write(XDR xdr)
Write auth info


getFlavor

public RpcAuthInfo.AuthFlavor getFlavor()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.