Class Group
- java.lang.Object
-
- com.ibm.security.access.extension.authn.credential.Group
-
- All Implemented Interfaces:
java.io.Serializable
public class Group extends java.lang.Object implements java.io.Serializable
This class represents credential group. Credential group consists of only a name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group(java.lang.String name)
Create a credential group with the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
Check whether the specified object is equal to this credential group.java.lang.String
getName()
Get the name.int
hashCode()
Get the hash code.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
equals
public boolean equals(java.lang.Object object)
Check whether the specified object is equal to this credential group. An object is equal to this credential group if and only if (1) the object is an instance ofGroup
, and (2) the name of the object is equal to the name of this credential group.- Overrides:
equals
in classjava.lang.Object
- Parameters:
object
- The object.- Returns:
- Whether the specified object is equal to this credential group.
-
hashCode
public int hashCode()
Get the hash code.- Overrides:
hashCode
in classjava.lang.Object
-
-