Class PeerEntityIDCriterion

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

    public final class PeerEntityIDCriterion
    extends Object
    implements net.shibboleth.utilities.java.support.resolver.Criterion
    An implementation of Criterion which specifies criteria pertaining to peer entity IDs. This is typically used only in conjunction with a EntityIdCriterion, where the peer is interpreted to be relative to that primary entity ID. In this sense it serves to scope the primary entity ID. Note that the peer entity ID may be either local or remote, depending on whether the associated primary entity ID is remote or local.
    • Field Detail

      • peerID

        private String peerID
        Peer entity ID criteria.
    • Constructor Detail

      • PeerEntityIDCriterion

        public PeerEntityIDCriterion​(@Nonnull
                                     String peer)
        Constructor.
        Parameters:
        peer - the entity ID which is the peer relative to a primary entity ID
    • Method Detail

      • getPeerID

        @Nonnull
        public String getPeerID()
        Get the entity ID which is the peer relative to a primary entity ID.
        Returns:
        the peer entity ID.
      • setPeerID

        public void setPeerID​(@Nonnull
                              String peer)
        Set the entity ID which is the peer relative to a primary entity ID.
        Parameters:
        peer - The peerID to set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object