public class AuthenticationRequest extends Object implements Request
| Constructor and Description |
|---|
AuthenticationRequest() |
AuthenticationRequest(String principal,
String credentials) |
AuthenticationRequest(String principal,
String credentials,
long timeout) |
AuthenticationRequest(String securityRealm,
String username,
String password) |
AuthenticationRequest(String realm,
String principal,
String credentials,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
Object |
getLogoutIdentity() |
String |
getRealm() |
RequestType |
getRequestType() |
long |
getTimeout() |
String |
getUsername() |
void |
readExternal(ObjectInput in)
Changes to this method must observe the optional
metaData version |
void |
setLogoutIdentity(Object logoutIdentity) |
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 AuthenticationRequest()
public AuthenticationRequest(String principal, String credentials, long timeout)
public AuthenticationRequest(String securityRealm, String username, String password)
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 long getTimeout()
public Object getLogoutIdentity()
public void setLogoutIdentity(Object logoutIdentity)
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–2017 The Apache Software Foundation. All rights reserved.