com.sapportals.wcm.util.http
Class UserInfo
[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
|
+--com.sapportals.wcm.util.http.UserInfo
- public final class UserInfo
- extends java.lang.Object
Keeps username and password.
Copyright (c) SAP AG 2001-2002
|
Method Summary |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getPassword()
Returns password, alway ! |
java.lang.String |
getUser()
Returns user, alway ! |
int |
hashCode()
|
java.lang.String |
toString()
|
static UserInfo |
valueOf(java.lang.String user,
java.lang.String password)
Creates a new WDuserInfo object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ANONYMOUS
public static final UserInfo ANONYMOUS
valueOf
public static UserInfo valueOf(java.lang.String user,
java.lang.String password)
- Creates a new WDuserInfo object.
- Parameters:
user - the userpassword - of user (maybe null )- Returns:
- WDuserInfo
- Throws:
java.lang.IllegalArgumentException - if user is null
getUser
public java.lang.String getUser()
- Returns user, alway !=
null .
- Returns:
- user
getPassword
public java.lang.String getPassword()
- Returns password, alway !=
null .
- Returns:
- password
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.