org.opensaml.security
Class MetadataCriteria

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

public final class MetadataCriteria
extends Object
implements org.opensaml.xml.security.Criteria

An implementation of Criteria which specifies criteria pertaining to SAML 2 metadata.


Constructor Summary
MetadataCriteria(QName role, String protocol)
          Constructor.
 
Method Summary
 String getProtocol()
          Get the entity protocol.
 QName getRole()
          Get the entity role.
 void setProtocol(String protocol)
          Set the entity protocol.
 void setRole(QName role)
          Set the entity role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataCriteria

public MetadataCriteria(QName role,
                        String protocol)
Constructor.

Parameters:
role - the entity role
protocol - the entity protocol
Method Detail

getProtocol

public String getProtocol()
Get the entity protocol.

Returns:
the protocol.

setProtocol

public void setProtocol(String protocol)
Set the entity protocol.

Parameters:
protocol - The protocol to set.

getRole

public QName getRole()
Get the entity role.

Returns:
Returns the role.

setRole

public void setRole(QName role)
Set the entity role.

Parameters:
role - the QName of entity role


Copyright © 2006-2011 Internet2. All Rights Reserved.