|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.client.AuthenticationRequest
public class AuthenticationRequest
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
AuthenticationRequest()
Constructs a new AuthenticationRequest to send to the server. |
|
AuthenticationRequest(java.lang.Object principle,
java.lang.Object credentials)
Constructs a new AuthenticationRequest to send to the server. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getCredentials()
Returns the client's credentials. |
java.lang.Object |
getPrinciple()
Returns the client's principle. |
byte |
getRequestType()
|
void |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
void |
setCredentials(java.lang.Object credentials)
Sets the clients credentials. |
void |
setPrinciple(java.lang.Object principle)
Sets the client's principle. |
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationRequest()
public AuthenticationRequest(java.lang.Object principle,
java.lang.Object credentials)
principle - credentials - | Method Detail |
|---|
public byte getRequestType()
getRequestType in interface Requestpublic java.lang.Object getPrinciple()
public java.lang.Object getCredentials()
public void setPrinciple(java.lang.Object principle)
principle - public void setCredentials(java.lang.Object credentials)
credentials -
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in interface Requestin - the stream to read data from in order to restore the object
java.io.IOException - if I/O errors occur
java.lang.ClassNotFoundException - If the class for an object being
restored cannot be found.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in interface Requestout - the stream to write the object to
java.io.IOException - Includes any I/O exceptions that may occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||