public final class OncRpcServerAuthNone extends Object implements OncRpcServerAuth
OncRpcServerAuthNone class handles all protocol issues
of the ONC/RPC authentication AUTH_NONE on the server
side.| Modifier and Type | Field and Description |
|---|---|
static OncRpcServerAuthNone |
AUTH_NONE
Singleton to use when an authentication object for
AUTH_NONE
is needed. |
| Constructor and Description |
|---|
OncRpcServerAuthNone() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAuthenticationType()
Returns the type (flavor) of
authentication
used. |
void |
xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
|
void |
xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
|
public static final OncRpcServerAuthNone AUTH_NONE
AUTH_NONE
is needed.public final int getAuthenticationType()
authentication
used.getAuthenticationType in interface OncRpcServerAuthpublic final void xdrDecodeCredVerf(XdrDecodingStream xdr) throws OncRpcException, IOException
xdrDecodeCredVerf in interface OncRpcServerAuthxdr - An XDR decoding streamOncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public final void xdrEncodeVerf(XdrEncodingStream xdr) throws OncRpcException, IOException
xdrEncodeVerf in interface OncRpcServerAuthxdr - An XDR encoding streamOncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.Copyright © 2015. All rights reserved.