org.apache.openejb.client
Class AuthenticationRequest
java.lang.Object
org.apache.openejb.client.AuthenticationRequest
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Request
public class AuthenticationRequest
- extends java.lang.Object
- implements Request
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthenticationRequest
public AuthenticationRequest()
AuthenticationRequest
public AuthenticationRequest(java.lang.String principal,
java.lang.String credentials)
AuthenticationRequest
public AuthenticationRequest(java.lang.String realm,
java.lang.String principal,
java.lang.String credentials)
getRequestType
public byte getRequestType()
- Specified by:
getRequestType
in interface Request
getRealm
public java.lang.String getRealm()
getUsername
public java.lang.String getUsername()
getCredentials
public java.lang.String getCredentials()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Specified by:
readExternal
in interface Request
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Specified by:
writeExternal
in interface Request
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.