All Packages Class Hierarchy This Package Previous Next Index
Class distinct.rpc.Auth
java.lang.Object
|
+----distinct.rpc.Auth
- public class Auth
- extends Object
- implements XDRType
Base class of all authentication classes. Implements
AUTH_NULL authentication.
- See Also:
- AuthUnix, AuthShort
-
Auth()
- Creates an authenticator of flavor AUTH_NULL.
-
Auth(int, byte[])
- Creates an authenticator of arbitrary flavor.
-
getAuthOpaque()
- Gets the opaque data of the authenticator.
-
getFlavor()
- Gets the flavor identifier.
-
setAuthOpaque(byte[])
- Sets the opaque data of the authenticator.
-
setFlavor(int)
- Sets the flavor identifier.
-
xdr_decode(XDRStream)
- Decodes an authenticator in compliance to RFC 1832 (XDR).
-
xdr_encode(XDRStream)
- Encodes an authenticator in compliance to RFC 1832 (XDR).
Auth
public Auth()
- Creates an authenticator of flavor AUTH_NULL.
Auth
public Auth(int flavorp,
byte AuthOpaque[])
- Creates an authenticator of arbitrary flavor.
- Parameters:
- flavorp - The flavor identifier.
- AuthOpaque - The opaque data of the authenticator.
getFlavor
public int getFlavor()
- Gets the flavor identifier.
- Returns:
- The flavor identifier.
setFlavor
public void setFlavor(int flavorp)
- Sets the flavor identifier.
- Parameters:
- flavorp - The flavor identifier.
getAuthOpaque
public byte[] getAuthOpaque()
- Gets the opaque data of the authenticator.
- Returns:
- The opaque data of the authenticator.
setAuthOpaque
public void setAuthOpaque(byte auth_opaque[])
- Sets the opaque data of the authenticator.
- Parameters:
- auth_opaque - The opaque data of the authenticator.
xdr_encode
public void xdr_encode(XDRStream xdrs)
- Encodes an authenticator in compliance to RFC 1832 (XDR).
- Parameters:
- xdrs - The XDR output stream.
xdr_decode
public void xdr_decode(XDRStream xdrs) throws RPCError
- Decodes an authenticator in compliance to RFC 1832 (XDR).
- Parameters:
- xdrs - The XDR input stream.
All Packages Class Hierarchy This Package Previous Next Index