com.distinct.rpc
Class AuthShort

java.lang.Object
  |
  +--com.distinct.rpc.Auth
        |
        +--com.distinct.rpc.AuthShort
All Implemented Interfaces:
java.io.Serializable, XDRType

public class AuthShort
extends Auth

Implements AUTH_SHORT authentication. Typically used as shortcut in server return messages.

See Also:
Auth, AuthUnix, Serialized Form

Constructor Summary
AuthShort()
          Creates an empty authenticator of flavor AUTH_SHORT.
AuthShort(Auth auth)
          Type-converter; Creates an authenticator of flavor AUTH_SHORT from a given authenticator of any type.
AuthShort(byte[] AuthOpaque)
          Creates an authenticator of flavor AUTH_SHORT.
 
Methods inherited from class com.distinct.rpc.Auth
getAuthOpaque, getFlavor, setAuthOpaque, setFlavor, xdr_decode, xdr_encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthShort

public AuthShort()
Creates an empty authenticator of flavor AUTH_SHORT.


AuthShort

public AuthShort(byte[] AuthOpaque)
Creates an authenticator of flavor AUTH_SHORT.

Parameters:
AuthOpaque - The opaque data of the authenticator.

AuthShort

public AuthShort(Auth auth)
Type-converter; Creates an authenticator of flavor AUTH_SHORT from a given authenticator of any type.

Parameters:
auth - Authenticator of any type.