Package org.acplt.oncrpc.server
Class OncRpcServerAuthNone
java.lang.Object
org.acplt.oncrpc.server.OncRpcServerAuth
org.acplt.oncrpc.server.OncRpcServerAuthNone
The
OncRpcServerAuthNone
class handles all protocol issues
of the ONC/RPC authentication AUTH_NONE
on the server
side.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:51 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OncRpcServerAuthNone
Singleton to use when an authentication object forAUTH_NONE
is needed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the type (flavor) ofauthentication
used.final void
Decodes -- that is: deserializes -- an ONC/RPC authentication object (credential invalid input: '&' verifier) on the server side.final void
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 Details
-
AUTH_NONE
Singleton to use when an authentication object forAUTH_NONE
is needed.
-
-
Constructor Details
-
OncRpcServerAuthNone
public OncRpcServerAuthNone()
-
-
Method Details
-
getAuthenticationType
public final int getAuthenticationType()Returns the type (flavor) ofauthentication
used.- Specified by:
getAuthenticationType
in classOncRpcServerAuth
- Returns:
- Authentication type used by this authentication object.
-
xdrDecodeCredVerf
Decodes -- that is: deserializes -- an ONC/RPC authentication object (credential invalid input: '&' verifier) on the server side.- Specified by:
xdrDecodeCredVerf
in classOncRpcServerAuth
- Throws:
OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.
-
xdrEncodeVerf
Encodes -- that is: serializes -- an ONC/RPC authentication object (its verifier) on the server side.- Specified by:
xdrEncodeVerf
in classOncRpcServerAuth
- Throws:
OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.
-