info.aduna.gee.publication.net
Class Login

java.lang.Object
  extended by info.aduna.gee.publication.net.Login

public class Login
extends Object

Login information for password protected accounts. This login information can be used for access to HTTP and FTP servers.


Field Summary
protected  String _origPassword
          Since WConfuse.confuse("aap") might not be equal to a second WConfuse.confuse("aap").
 String password
          The password for "_userName".
 String userName
          The user name.
 
Constructor Summary
Login(String userName, String password)
          Creates a new object with login information.
 
Method Summary
 boolean equals(Login other)
          Compare two login objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

public String userName
The user name.


password

public String password
The password for "_userName". Note: we only use the "confused" password. The string that is typed in is immediately "confused". You can not login by typing in the confused password directly.


_origPassword

protected String _origPassword
Since WConfuse.confuse("aap") might not be equal to a second WConfuse.confuse("aap"). we maintain the original password for comparison only.

Constructor Detail

Login

public Login(String userName,
             String password)
Creates a new object with login information.

Parameters:
userName - The login name
password - The password for the login
Method Detail

equals

public boolean equals(Login other)
Compare two login objects.

Parameters:
other - another login object to compare against.
Returns:
true if equals, false otherwise.


Copyright © 1997-2008 Aduna. All Rights Reserved.