org.opensaml.xml.security.criteria
Class EntityIDCriteria

java.lang.Object
  extended by org.opensaml.xml.security.criteria.EntityIDCriteria
All Implemented Interfaces:
Criteria

public final class EntityIDCriteria
extends Object
implements Criteria

An implementation of Criteria which specifies criteria identifying a particular entity. Note that when used as a credential criteria for a credential resolver, the entity ID is the entity which owns the resolved credential. This entity ID may represent either a local entity (self) or remote entity, depending on the use case, e.g. in resolution of signature verification credentials, the owner entity ID would be a remote peer; in resolution of decryption credentials, the owner entity ID would be a local entity ID. See also PeerEntityIDCriteria.


Field Summary
private  String entityID
          Entity ID criteria.
 
Constructor Summary
EntityIDCriteria(String entity)
          Constructor.
 
Method Summary
 String getEntityID()
          Get the entity ID represented by the criteria.
 void setEntityID(String entity)
          Set the entity ID represented by the criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityID

private String entityID
Entity ID criteria.

Constructor Detail

EntityIDCriteria

public EntityIDCriteria(String entity)
Constructor.

Parameters:
entity - the entity ID represented by the criteria
Method Detail

getEntityID

public String getEntityID()
Get the entity ID represented by the criteria.

Returns:
the primary entity ID.

setEntityID

public void setEntityID(String entity)
Set the entity ID represented by the criteria.

Parameters:
entity - The entityID to set.


Copyright © 1999-2013. All Rights Reserved.