public final class PeerEntityIDCriterion
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Criterion
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.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
peerID
Peer entity ID criteria.
|
| Constructor and Description |
|---|
PeerEntityIDCriterion(java.lang.String peer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPeerID()
Get the entity ID which is the peer relative to a primary entity ID.
|
int |
hashCode() |
void |
setPeerID(java.lang.String peer)
Set the entity ID which is the peer relative to a primary entity ID.
|
java.lang.String |
toString() |
public PeerEntityIDCriterion(@Nonnull
java.lang.String peer)
peer - the entity ID which is the peer relative to a primary entity ID@Nonnull public java.lang.String getPeerID()
public void setPeerID(@Nonnull
java.lang.String peer)
peer - The peerID to set.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object