org.opensaml.security
Class MetadataCriteria

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

public final class MetadataCriteria
extends Object
implements Criteria

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


Field Summary
private  String entityProtocol
          Metadata protocol of the role indicated by the criteria.
private  QName entityRole
          Metadata role indicated by the criteria.
 
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
 

Field Detail

entityRole

private QName entityRole
Metadata role indicated by the criteria.


entityProtocol

private String entityProtocol
Metadata protocol of the role indicated by the criteria.

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 © 1999-2012. All Rights Reserved.