Package 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
TheOncRpcServerAuthNoneclass handles all protocol issues of the ONC/RPC authenticationAUTH_NONEon the server side.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:51 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
-
Field Summary
Fields Modifier and Type Field Description static OncRpcServerAuthNoneAUTH_NONESingleton to use when an authentication object forAUTH_NONEis needed.
-
Constructor Summary
Constructors Constructor Description OncRpcServerAuthNone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAuthenticationType()Returns the type (flavor) ofauthenticationused.voidxdrDecodeCredVerf(XdrDecodingStream xdr)Decodes -- that is: deserializes -- an ONC/RPC authentication object (credential & verifier) on the server side.voidxdrEncodeVerf(XdrEncodingStream xdr)Encodes -- that is: serializes -- an ONC/RPC authentication object (its verifier) on the server side.-
Methods inherited from class org.acplt.oncrpc.server.OncRpcServerAuth
xdrNew
-
-
-
-
Field Detail
-
AUTH_NONE
public static final OncRpcServerAuthNone AUTH_NONE
Singleton to use when an authentication object forAUTH_NONEis needed.
-
-
Method Detail
-
getAuthenticationType
public final int getAuthenticationType()
Returns the type (flavor) ofauthenticationused.- Specified by:
getAuthenticationTypein classOncRpcServerAuth- Returns:
- Authentication type used by this authentication object.
-
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.- Specified by:
xdrDecodeCredVerfin classOncRpcServerAuth- Throws:
OncRpcException- if an ONC/RPC error occurs.java.io.IOException- if an I/O error occurs.
-
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.- Specified by:
xdrEncodeVerfin classOncRpcServerAuth- Throws:
OncRpcException- if an ONC/RPC error occurs.java.io.IOException- if an I/O error occurs.
-
-