Package org.opensaml.security.criteria
Class PeerEntityIDCriterion
java.lang.Object
org.opensaml.security.criteria.PeerEntityIDCriterion
- All Implemented Interfaces:
Criterion
@Deprecated(since="5.3.0",
forRemoval=true)
public final class PeerEntityIDCriterion
extends Object
implements Criterion
Deprecated, for removal: This API element is subject to removal in a future version.
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPeerEntityIDCriterion(String peer) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get the entity ID which is the peer relative to a primary entity ID.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Set the entity ID which is the peer relative to a primary entity ID.toString()Deprecated, for removal: This API element is subject to removal in a future version.validatePeerID(String peer) Deprecated, for removal: This API element is subject to removal in a future version.Validate peer ID criterion.
-
Field Details
-
peerID
Deprecated, for removal: This API element is subject to removal in a future version.Peer entity ID criteria.
-
-
Constructor Details
-
PeerEntityIDCriterion
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
peer- the entity ID which is the peer relative to a primary entity ID
-
-
Method Details
-
getPeerID
Deprecated, for removal: This API element is subject to removal in a future version.Get the entity ID which is the peer relative to a primary entity ID.- Returns:
- the peer entity ID.
-
setPeerID
Deprecated, for removal: This API element is subject to removal in a future version.Set the entity ID which is the peer relative to a primary entity ID.- Parameters:
peer- The peerID to set.
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
validatePeerID
Deprecated, for removal: This API element is subject to removal in a future version.Validate peer ID criterion.- Parameters:
peer- ID to check- Returns:
- the input if non-null/empty
-