org.apache.openejb.client
Class AuthenticationRequest

java.lang.Object
  extended by 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

Constructor Summary
AuthenticationRequest()
           
AuthenticationRequest(java.lang.String principal, java.lang.String credentials)
           
AuthenticationRequest(java.lang.String realm, java.lang.String principal, java.lang.String credentials)
           
 
Method Summary
 java.lang.String getCredentials()
           
 java.lang.String getRealm()
           
 byte getRequestType()
           
 java.lang.String getUsername()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.