public class User extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
tenantDomain |
protected String |
userName |
protected String |
userStoreDomain |
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
static User |
build(org.apache.axiom.om.OMElement userOM)
Returns a User instance populated from the given OMElement
The OMElement is of the form below
|
String |
getTenantDomain()
Returns the tenant domain of the user
|
String |
getUserName()
Returns the username of the user
|
String |
getUserStoreDomain()
Returns the user store domain of the user
|
void |
setTenantDomain(String tenantDomain)
Sets the tenant domain of the user
|
void |
setUserName(String userName)
Sets the username of the user
|
void |
setUserStoreDomain(String userStoreDomain)
Sets the user store domain of the user
|
String |
toString() |
protected String tenantDomain
protected String userStoreDomain
protected String userName
public static User build(org.apache.axiom.om.OMElement userOM)
userOM
- OMElement to populate userpublic String getTenantDomain()
public void setTenantDomain(String tenantDomain)
tenantDomain
- tenant domain of the userpublic String getUserStoreDomain()
public void setUserStoreDomain(String userStoreDomain)
userStoreDomain
- user store domain of the userpublic String getUserName()
public void setUserName(String userName)
userName
- Copyright © 2015 WSO2. All rights reserved.