public class AuthenticationInformation extends Object implements Serializable
| Constructor and Description |
|---|
AuthenticationInformation(String userName,
String pwd,
String usersMandant,
UserType userType)
Literal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getMandant() |
String |
getName() |
String |
getPassword() |
UserType |
getType() |
int |
hashCode() |
AuthenticationInformation |
mergePassword(String newPassword)
Merges a new AuthenticationInformation with another password.
|
AuthenticationInformation |
mergeShortName(String loginName)
Merges a new AuthenticationInformation with another login name.
|
String |
toString() |
public AuthenticationInformation(String userName, String pwd, String usersMandant, UserType userType)
userName - The name to log in withpwd - The password to authenticate withusersMandant - The mandant to log in touserType - The user type to log on aspublic String getName()
public String getPassword()
public String getMandant()
public UserType getType()
public AuthenticationInformation mergeShortName(String loginName)
loginName - The name to login aspublic AuthenticationInformation mergePassword(String newPassword)
newPassword - The new passwordCopyright © 2016 SAPERION AG. All rights reserved.