java.lang.Object
com.ibm.security.access.extension.authn.credential.Group
All Implemented Interfaces:
Serializable

public class Group extends Object implements Serializable
This class represents credential group. Credential group consists of only a name.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Group(String name)
    Create a credential group with the specified name.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    Check whether the specified object is equal to this credential group.
    Get the name.
    int
    Get the hash code.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Group

      public Group(String name)
      Create a credential group with the specified name.
      Parameters:
      name - The name.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      The name.
    • equals

      public boolean equals(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 of Group, and (2) the name of the object is equal to the name of this credential group.
      Overrides:
      equals in class 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 class Object