public class AuthenticationRequest extends Object implements Request
| Constructor and Description |
|---|
AuthenticationRequest() |
AuthenticationRequest(String principal,
String credentials) |
AuthenticationRequest(String realm,
String principal,
String credentials) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
String |
getRealm() |
RequestType |
getRequestType() |
String |
getUsername() |
void |
readExternal(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
|
String |
toString() |
void |
writeExternal(ObjectOutput out)
Changes to this method must observe the optional
metaData version |
public void setMetaData(ProtocolMetaData metaData)
RequestsetMetaData in interface RequestmetaData - ProtocolMetaDatapublic RequestType getRequestType()
getRequestType in interface Requestpublic String getRealm()
public String getUsername()
public String getCredentials()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
metaData versionreadExternal in interface ExternalizablereadExternal in interface RequestIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
metaData versionwriteExternal in interface ExternalizablewriteExternal in interface RequestIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.