com.threerings.presents.net
Class Credentials
java.lang.Object
com.threerings.presents.net.Credentials
- All Implemented Interfaces:
- Streamable
- Direct Known Subclasses:
- PublicKeyCredentials, ServiceCreds, UsernamePasswordCreds
public abstract class Credentials
- extends Object
- implements Streamable
Credentials are supplied by the client implementation and sent along to the server during the
authentication process. To provide support for a variety of authentication methods, the
credentials class is meant to be subclassed for the particular method (ie. password, auth
digest, etc.) in use in a given system.
All derived classes should provide a no argument constructor so that they can be
instantiated prior to reconstruction from a data input stream.
|
Method Summary |
String |
getDatagramSecret()
Returns a string to use in a hash on the datagram contents to authenticate client datagrams. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Credentials
public Credentials()
getDatagramSecret
public String getDatagramSecret()
- Returns a string to use in a hash on the datagram contents to authenticate client datagrams.