Class Role
java.lang.Object
org.jclouds.openstack.keystone.v2_0.domain.Role
A personality that a user assumes when performing a specific set of operations. A role includes a
set of right and privileges. A user assuming that role inherits those rights and privileges.
In Keystone, a token that is issued to a user includes the list of roles that user can assume.
Services that are being called by that user determine how they interpret the set of roles a user
has and which operations or resources each roles grants access to.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Role.Builder
<?> builder()
boolean
getId()
When providing an ID, it is assumed that the role exists in the current OpenStack deploymentgetName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Role.Builder
<?> toString()
-
Constructor Details
-
Role
-
-
Method Details
-
builder
-
toBuilder
-
getId
When providing an ID, it is assumed that the role exists in the current OpenStack deployment- Returns:
- the id of the role in the current OpenStack deployment
-
getName
- Returns:
- the name of the role
-
getDescription
- Returns:
- the description of the role
-
getServiceId
- Returns:
- the service id of the role or null, if not present
-
getTenantId
- Returns:
- the tenant id of the role or null, if not present
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-