com.sapportals.wcm.util.http
Class UserInfo
java.lang.Object
com.sapportals.wcm.util.http.UserInfo
public final class UserInfo
- extends Object
Keeps username and password.
Copyright (c) SAP AG 2001-2002
ANONYMOUS
public static final UserInfo ANONYMOUS
valueOf
public static UserInfo valueOf(String user,
String password)
- Creates a new WDuserInfo object.
- Parameters:
user - the userpassword - of user (maybe null )
- Returns:
- WDuserInfo
- Throws:
IllegalArgumentException - if user is null
getUser
public String getUser()
- Returns user, alway !=
null .
- Returns:
- user
getPassword
public String getPassword()
- Returns password, alway !=
null .
- Returns:
- password
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice