Class EntityRoleCriterion

java.lang.Object
org.opensaml.saml.criterion.EntityRoleCriterion
All Implemented Interfaces:
Criterion

public final class EntityRoleCriterion extends Object implements Criterion
Criterion representing an entity role.
  • Field Details

    • role

      @Nonnull private final QName role
      The entity role.
  • Constructor Details

    • EntityRoleCriterion

      public EntityRoleCriterion(@Nonnull QName samlRole)
      Constructor.
      Parameters:
      samlRole - the entity role
  • Method Details

    • getRole

      @Nonnull public QName getRole()
      Gets the entity role.
      Returns:
      the entity role
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object