public class UserData extends RoleData
UserData represents User Type @see UserAdminMBean.USER_TYPE
.It is a codec
for the CompositeData
representing a User.
RoleData
Constructor and Description |
---|
UserData(java.lang.String name,
int type)
Constructs new UserData.
|
UserData(java.lang.String name,
int type,
java.util.Dictionary properties,
java.util.Dictionary credentials)
Constructs new UserData.
|
UserData(User user)
Constructs new UserData from
User object. |
Modifier and Type | Method and Description |
---|---|
static UserData |
from(javax.management.openmbean.CompositeData data)
Static factory method to create UserData from CompositeData object.
|
javax.management.openmbean.CompositeData |
toCompositeData()
Translates UserData to CompositeData represented by
compositeType
UserAdminMBean.USER_TYPE . |
public UserData(User user)
User
object.user
- User
instance.public UserData(java.lang.String name, int type)
name
- user name.type
- role type.public UserData(java.lang.String name, int type, java.util.Dictionary properties, java.util.Dictionary credentials)
name
- user name.type
- role type.properties
- user properties.credentials
- user credentials.public javax.management.openmbean.CompositeData toCompositeData()
UserAdminMBean.USER_TYPE
.toCompositeData
in class RoleData
public static UserData from(javax.management.openmbean.CompositeData data)
data
- CompositeData
instance."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"