Class EntityIdCriterion

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.resolver.Criterion

    public final class EntityIdCriterion
    extends Object
    implements net.shibboleth.utilities.java.support.resolver.Criterion
    Criterion representing an entity ID.
    • Field Detail

      • id

        @Nonnull
        @NotEmpty
        private final String id
        The entity ID.
    • Constructor Detail

      • EntityIdCriterion

        public EntityIdCriterion​(@Nonnull @NotEmpty
                                 String entityId)
        Constructor.
        Parameters:
        entityId - the entity ID, can not be null or empty
    • Method Detail

      • getEntityId

        @Nonnull
        @NotEmpty
        public String getEntityId()
        Gets the entity ID.
        Returns:
        the entity ID, never null or empty
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object