org.acplt.oncrpc.server
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.
|
xdrNew
public static final OncRpcServerAuthNone AUTH_NONE
AUTH_NONE
is needed.public final int getAuthenticationType()
authentication
used.getAuthenticationType
in class OncRpcServerAuth
public final void xdrDecodeCredVerf(XdrDecodingStream xdr) throws OncRpcException, java.io.IOException
xdrDecodeCredVerf
in class OncRpcServerAuth
OncRpcException
- 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 OncRpcServerAuth
OncRpcException
- if an ONC/RPC error occurs.java.io.IOException
- if an I/O error occurs.