|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.client.AuthenticationRequest
Field Summary |
Constructor Summary | |
AuthenticationRequest()
Constructs a new AuthenticationRequest to send to the server. |
|
AuthenticationRequest(Object principle,
Object credentials)
Constructs a new AuthenticationRequest to send to the server. |
Method Summary | |
Object |
getCredentials()
Returns the client's credentials. |
Object |
getPrinciple()
Returns the client's principle. |
byte |
getRequestType()
|
void |
readExternal(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(Object credentials)
Sets the clients credentials. |
void |
setPrinciple(Object principle)
Sets the client's principle. |
void |
writeExternal(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(Object principle, Object credentials)
principle
- credentials
- Method Detail |
public byte getRequestType()
getRequestType
in interface Request
public Object getPrinciple()
public Object getCredentials()
public void setPrinciple(Object principle)
principle
- public void setCredentials(Object credentials)
credentials
- public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Request
in
- the stream to read data from in order to restore the object
IOException
- if I/O errors occur
ClassNotFoundException
- If the class for an object being
restored cannot be found.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Request
out
- the stream to write the object to
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 |