public class AuthRequest extends UpstreamMessage
Streamable.ClosuremessageId| Constructor and Description |
|---|
AuthRequest()
Zero argument constructor used when unserializing an instance.
|
AuthRequest(Credentials creds,
String version,
String[] bootGroups)
Constructs a auth request with the supplied credentials and client version information.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getBootGroups()
Returns the set of bootstrap service groups in which this client is interested.
|
Credentials |
getCredentials()
Returns a reference to the credentials provided with this request.
|
byte[] |
getSecret()
Returns a shared secret key used for sending encrypted data to the client.
|
TimeZone |
getTimeZone()
Returns the timezone in which this client is operating.
|
String |
getVersion()
Returns a reference to the version information provided with this request.
|
void |
readObject(ObjectInputStream in)
Reads our custom streamable fields.
|
String |
toString() |
getTransport, noteActualTransport, setTransportpublic AuthRequest()
public AuthRequest(Credentials creds, String version, String[] bootGroups)
public Credentials getCredentials()
public String getVersion()
public TimeZone getTimeZone()
public String[] getBootGroups()
public byte[] getSecret()
public String toString()
toString in class UpstreamMessagepublic void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.