public final class OncRpcServerAuthNone extends 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.
|
xdrNewpublic static final OncRpcServerAuthNone AUTH_NONE
AUTH_NONE
is needed.public final int getAuthenticationType()
authentication
used.getAuthenticationType in class OncRpcServerAuthpublic final void xdrDecodeCredVerf(XdrDecodingStream xdr) throws OncRpcException, java.io.IOException
xdrDecodeCredVerf in class OncRpcServerAuthOncRpcException - if an ONC/RPC error occurs.java.io.IOException - if an I/O error occurs.public final void xdrEncodeVerf(XdrEncodingStream xdr) throws OncRpcException, java.io.IOException
xdrEncodeVerf in class OncRpcServerAuthOncRpcException - if an ONC/RPC error occurs.java.io.IOException - if an I/O error occurs.