|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.distinct.rpc.Auth
Base class of all authentication classes. Implements AUTH_NULL authentication.
AuthUnix,
AuthShort,
Serialized Form| Constructor Summary | |
Auth()
Creates an authenticator of flavor AUTH_NULL. |
|
Auth(int flavorp,
byte[] AuthOpaque)
Creates an authenticator of arbitrary flavor. |
|
| Method Summary | |
byte[] |
getAuthOpaque()
Gets the opaque data of the authenticator. |
int |
getFlavor()
Gets the flavor identifier. |
void |
setAuthOpaque(byte[] auth_opaque)
Sets the opaque data of the authenticator. |
void |
setFlavor(int flavorp)
Sets the flavor identifier. |
void |
xdr_decode(XDRStream xdrs)
Decodes an authenticator in compliance to RFC 1832 (XDR). |
void |
xdr_encode(XDRStream xdrs)
Encodes an authenticator in compliance to RFC 1832 (XDR). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Auth()
public Auth(int flavorp,
byte[] AuthOpaque)
flavorp - The flavor identifier.AuthOpaque - The opaque data of the authenticator.| Method Detail |
public int getFlavor()
public void setFlavor(int flavorp)
flavorp - The flavor identifier.public byte[] getAuthOpaque()
public void setAuthOpaque(byte[] auth_opaque)
auth_opaque - The opaque data of the authenticator.public void xdr_encode(XDRStream xdrs)
xdr_encode in interface XDRTypexdrs - The XDR output stream.
public void xdr_decode(XDRStream xdrs)
throws RPCError
xdr_decode in interface XDRTypexdrs - The XDR input stream.
RPCError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||