|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.acplt.oncrpc.OncRpcClientAuth org.acplt.oncrpc.OncRpcClientAuthNone
public class OncRpcClientAuthNone
The OncRpcClientAuthNone
class handles protocol issues of
ONC/RPC AUTH_NONE
authentication.
Field Summary | |
---|---|
static OncRpcClientAuthNone |
AUTH_NONE
Contains a singleton which comes in handy if you just need an AUTH_NONE authentification for an ONC/RPC client. |
Constructor Summary | |
---|---|
OncRpcClientAuthNone()
|
Method Summary | |
---|---|
protected boolean |
canRefreshCred()
Indicates whether the ONC/RPC authentication credential can be refreshed. |
protected void |
xdrDecodeVerf(XdrDecodingStream xdr)
Decodes ONC/RPC authentication information in form of a verifier when receiving an ONC/RPC reply message. |
protected void |
xdrEncodeCredVerf(XdrEncodingStream xdr)
Encodes ONC/RPC authentication information in form of a credential and a verifier when sending an ONC/RPC call message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OncRpcClientAuthNone AUTH_NONE
Constructor Detail |
---|
public OncRpcClientAuthNone()
Method Detail |
---|
protected void xdrEncodeCredVerf(XdrEncodingStream xdr) throws OncRpcException, java.io.IOException
xdrEncodeCredVerf
in class OncRpcClientAuth
xdr
- XDR stream where to encode the credential and the verifier
to.
OncRpcException
- if an ONC/RPC error occurs.
java.io.IOException
- if an I/O error occurs.protected void xdrDecodeVerf(XdrDecodingStream xdr) throws OncRpcException, java.io.IOException
xdrDecodeVerf
in class OncRpcClientAuth
xdr
- XDR stream from which to receive the verifier sent together
with an ONC/RPC reply message.
OncRpcAuthenticationException
- if the received verifier is
not kosher.
OncRpcException
- if an ONC/RPC error occurs.
java.io.IOException
- if an I/O error occurs.protected boolean canRefreshCred()
canRefreshCred
in class OncRpcClientAuth
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |