public class RoleAssignmentAttribute
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RoleAssignmentAttribute(java.lang.String name)
Constructs this object with the assignment attribute name.
|
RoleAssignmentAttribute(java.lang.String name,
DistinguishedName roleDN)
Constructs this object with the assignment attribute name and the DN of the
role.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks whether the obj is equal to this RoleAssignmentAttribute.
|
java.lang.String |
getName()
Gets the assignment attribute name.
|
DistinguishedName |
getRoleDN()
Gets the DistinguishedName of the role where the assignment attribute is
defined.
|
java.lang.String |
getRoleName()
Gets the role name.
|
int |
hashCode()
Returns the hash code.
|
public RoleAssignmentAttribute(java.lang.String name)
name - The assignment attribute name. The name cannot be null or
an empty string.java.lang.IllegalArgumentException - Thrown if the name is null or an empty string.public RoleAssignmentAttribute(java.lang.String name,
DistinguishedName roleDN)
name - The assignment attribute name. The name cannot be null or
an empty string.roleDN - The DistinguishedName of the role where this attribute is
defined. The roleDN can be null.java.lang.IllegalArgumentException - Thrown if the name is null or an empty string.public java.lang.String getName()
public DistinguishedName getRoleDN()
public java.lang.String getRoleName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object that being compared to this
RoleAssignmentAttribute.public int hashCode()
hashCode in class java.lang.Object