|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.tenants.Principal
class Principal
A principal maps to a set of ldap users and/or ldap groups. MWS roles are attached to the principals to authorize the group to use the specific MWS roles.
Field Summary | |
---|---|
private List |
attachedRoles
(Role collection)The MWS roles this principal is authorized to use. |
private String |
description
The principal description. |
private List |
groups
(Map collection) The groups associated with this principal. |
private String |
id
The unique ID of this principal. |
private String |
name
The unique human-readable name of this principal. |
private List |
users
(Map collection) The users associated with this principal. |
Constructor Summary | |
Principal()
|
Method Summary | |
---|---|
List
|
getAttachedRoles()
(Role collection)The MWS roles this principal is authorized to use. |
String
|
getDescription()
The principal description. |
List
|
getGroups()
(Map collection) The groups associated with this principal. |
String
|
getId()
The unique ID of this principal. |
String
|
getName()
The unique human-readable name of this principal. |
List
|
getUsers()
(Map collection) The users associated with this principal. |
void
|
setAttachedRoles(List attachedRoles)
(Role collection)The MWS roles this principal is authorized to use. |
void
|
setDescription(String description)
The principal description. |
void
|
setGroups(List groups)
(Map collection) The groups associated with this principal. |
void
|
setId(String id)
The unique ID of this principal. |
void
|
setName(String name)
The unique human-readable name of this principal. |
void
|
setUsers(List users)
(Map collection) The users associated with this principal. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private List attachedRoles
private String description
private List groups
private String id
private String name
private List users
Constructor Detail |
---|
Principal()
Method Detail |
---|
List getAttachedRoles()
String getDescription()
List getGroups()
String getId()
String getName()
List getUsers()
void setAttachedRoles(List attachedRoles)
void setDescription(String description)
void setGroups(List groups)
void setId(String id)
void setName(String name)
void setUsers(List users)
String toString()
Groovy Documentation