org.gnu.jcifs
Class CifsLogin

java.lang.Object
  |
  +--org.gnu.jcifs.CifsLogin

public class CifsLogin
extends java.lang.Object
implements java.lang.Cloneable

CifsLogon holds user authentication data

Since:
1.0
Version:
1.1, 22 July 1999
Author:
Norbert Hranitzky

Constructor Summary
CifsLogin()
          Creates a new object.
CifsLogin(java.lang.String password)
          Creates a new object.
CifsLogin(java.lang.String account, java.lang.String password)
          Creates a new object
 
Method Summary
 java.lang.Object clone()
          Clone this object
static void E_P16(byte[] p14, byte[] p16)
           
 boolean equals(java.lang.Object obj)
          Compares if the two object are the same (same account and password)
 java.lang.String getAccount()
          Returns the account name
 void setAccount(java.lang.String account)
          Sets the account name
 void setPassword(java.lang.String password)
          Sets the password
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CifsLogin

public CifsLogin()
Creates a new object. The user name is the name in the system property user.name

CifsLogin

public CifsLogin(java.lang.String password)
Creates a new object. The user name is the name in the system property user.name
Parameters:
password - user password

CifsLogin

public CifsLogin(java.lang.String account,
                 java.lang.String password)
Creates a new object
Parameters:
account - user name
password - user password
Method Detail

setAccount

public void setAccount(java.lang.String account)
Sets the account name
Parameters:
account - user name

setPassword

public void setPassword(java.lang.String password)
Sets the password
Parameters:
password - password

getAccount

public java.lang.String getAccount()
Returns the account name
Returns:
account name

equals

public boolean equals(java.lang.Object obj)
Compares if the two object are the same (same account and password)
Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to test
Returns:
true of obj is the same CifsLogin object

clone

public java.lang.Object clone()
Clone this object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

E_P16

public static void E_P16(byte[] p14,
                         byte[] p16)

Norbert Hranitzky