org.acplt.oncrpc.server
Class OncRpcServerAuthNone
java.lang.Object
|
+--org.acplt.oncrpc.server.OncRpcServerAuth
|
+--org.acplt.oncrpc.server.OncRpcServerAuthNone
- public final class OncRpcServerAuthNone
- extends OncRpcServerAuth
The OncRpcServerAuthNone
class handles all protocol issues
of the ONC/RPC authentication AUTH_NONE
on the server
side.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
AUTH_NONE
public static final OncRpcServerAuthNone AUTH_NONE
- Singleton to use when an authentication object for
AUTH_NONE
is needed.
OncRpcServerAuthNone
public OncRpcServerAuthNone()
getAuthenticationType
public final int getAuthenticationType()
- Returns the type (flavor) of authentication
used.
- Returns:
- Authentication type used by this authentication object.
- Overrides:
- getAuthenticationType in class OncRpcServerAuth
xdrDecodeCredVerf
public final void xdrDecodeCredVerf(XdrDecodingStream xdr)
throws OncRpcException,
java.io.IOException
- Decodes -- that is: deserializes -- an ONC/RPC authentication object
(credential & verifier) on the server side.
- Throws:
- OncRpcException - if an ONC/RPC error occurs.
- java.io.IOException - if an I/O error occurs.
- Overrides:
- xdrDecodeCredVerf in class OncRpcServerAuth
xdrEncodeVerf
public final void xdrEncodeVerf(XdrEncodingStream xdr)
throws OncRpcException,
java.io.IOException
- Encodes -- that is: serializes -- an ONC/RPC authentication object
(its verifier) on the server side.
- Throws:
- OncRpcException - if an ONC/RPC error occurs.
- java.io.IOException - if an I/O error occurs.
- Overrides:
- xdrEncodeVerf in class OncRpcServerAuth