|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.acplt.oncrpc.server.OncRpcServerAuth
public abstract class OncRpcServerAuth
The OncRpcServerAuth class is the base class and factory
for handling all protocol issues of ONC/RPC authentication on the server
side.
| Constructor Summary | |
|---|---|
OncRpcServerAuth()
|
|
| Method Summary | |
|---|---|
abstract int |
getAuthenticationType()
Returns the type (flavor) of authentication
used. |
abstract void |
xdrDecodeCredVerf(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an ONC/RPC authentication object (credential & verifier) on the server side. |
abstract void |
xdrEncodeVerf(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an ONC/RPC authentication object (its verifier) on the server side. |
static OncRpcServerAuth |
xdrNew(XdrDecodingStream xdr,
OncRpcServerAuth recycle)
Restores (deserializes) an authentication object from an XDR stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OncRpcServerAuth()
| Method Detail |
|---|
public abstract int getAuthenticationType()
authentication
used.
public static final OncRpcServerAuth xdrNew(XdrDecodingStream xdr,
OncRpcServerAuth recycle)
throws OncRpcException,
java.io.IOException
xdr - XDR stream from which the authentication object is
restored.recycle - old authtentication object which is intended to be
reused in case it is of the same authentication type as the new
one just arriving from the XDR stream.
OncRpcServerAuth.
OncRpcException - if an ONC/RPC error occurs.
java.io.IOException - if an I/O error occurs.
public abstract void xdrDecodeCredVerf(XdrDecodingStream xdr)
throws OncRpcException,
java.io.IOException
OncRpcException - if an ONC/RPC error occurs.
java.io.IOException - if an I/O error occurs.
public abstract void xdrEncodeVerf(XdrEncodingStream xdr)
throws OncRpcException,
java.io.IOException
OncRpcException - if an ONC/RPC error occurs.
java.io.IOException - if an I/O error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||