org.apache.openejb.client
Class AuthenticationRequest

java.lang.Object
  extended by org.apache.openejb.client.AuthenticationRequest
All Implemented Interfaces:
Externalizable, Serializable, Request

public class AuthenticationRequest
extends Object
implements Request

See Also:
Serialized Form

Constructor Summary
AuthenticationRequest()
           
AuthenticationRequest(String principal, String credentials)
           
AuthenticationRequest(String realm, String principal, String credentials)
           
 
Method Summary
 String getCredentials()
           
 String getRealm()
           
 byte getRequestType()
           
 String getUsername()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(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(String principal,
                             String credentials)

AuthenticationRequest

public AuthenticationRequest(String realm,
                             String principal,
                             String credentials)
Method Detail

getRequestType

public byte getRequestType()
Specified by:
getRequestType in interface Request

getRealm

public String getRealm()

getUsername

public String getUsername()

getCredentials

public String getCredentials()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Specified by:
readExternal in interface Request
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Specified by:
writeExternal in interface Request
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.