org.apache.geronimo.gshell.remote.message
Class LoginMessage

java.lang.Object
  extended by org.apache.geronimo.gshell.whisper.message.BaseMessage
      extended by org.apache.geronimo.gshell.remote.message.RshMessage
          extended by org.apache.geronimo.gshell.remote.message.LoginMessage
All Implemented Interfaces:
Serializable, Message

public class LoginMessage
extends RshMessage

Contains the user authentication details which the client will pass to the server after the authetication of the connection has been established.

Version:
$Rev: 580731 $ $Date: 2007-09-30 07:52:42 -0700 (Sun, 30 Sep 2007) $
See Also:
Serialized Form

Nested Class Summary
static class LoginMessage.Failure
           
static class LoginMessage.Success
           
 
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.whisper.message.Message
Message.ID
 
Constructor Summary
LoginMessage(String username, char[] password)
           
LoginMessage(String username, char[] password, String realm)
           
 
Method Summary
 char[] getPassword()
           
 String getRealm()
           
 String getUsername()
           
 String toString()
           
 
Methods inherited from class org.apache.geronimo.gshell.whisper.message.BaseMessage
getCorrelationId, getId, getSequence, getTimestamp, hashCode, setCorrelationId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginMessage

public LoginMessage(String username,
                    char[] password,
                    String realm)

LoginMessage

public LoginMessage(String username,
                    char[] password)
Method Detail

toString

public String toString()
Overrides:
toString in class BaseMessage

getUsername

public String getUsername()

getPassword

public char[] getPassword()

getRealm

public String getRealm()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.