public class AuthenticationRequest extends java.lang.Object implements Request
| Constructor and Description | 
|---|
AuthenticationRequest()  | 
AuthenticationRequest(java.lang.String principal,
                     java.lang.String credentials)  | 
AuthenticationRequest(java.lang.String realm,
                     java.lang.String principal,
                     java.lang.String credentials)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getCredentials()  | 
java.lang.String | 
getRealm()  | 
RequestType | 
getRequestType()  | 
java.lang.String | 
getUsername()  | 
void | 
readExternal(java.io.ObjectInput in)
Changes to this method must observe the optional  
metaData version | 
void | 
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for versioned requests 
 | 
java.lang.String | 
toString()  | 
void | 
writeExternal(java.io.ObjectOutput out)
Changes to this method must observe the optional  
metaData version | 
public AuthenticationRequest()
public AuthenticationRequest(java.lang.String principal,
                             java.lang.String credentials)
public AuthenticationRequest(java.lang.String realm,
                             java.lang.String principal,
                             java.lang.String credentials)
public void setMetaData(ProtocolMetaData metaData)
RequestsetMetaData in interface RequestmetaData - ProtocolMetaDatapublic RequestType getRequestType()
getRequestType in interface Requestpublic java.lang.String getRealm()
public java.lang.String getUsername()
public java.lang.String getCredentials()
public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
metaData versionreadExternal in interface java.io.ExternalizablereadExternal in interface Requestjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
metaData versionwriteExternal in interface java.io.ExternalizablewriteExternal in interface Requestjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object