edu.internet2.middleware.shibboleth.common.attribute.filtering.provider
Class AttributeFilterPolicy

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.AttributeFilterPolicy

public class AttributeFilterPolicy
extends Object

A policy describing if a set of attribute value filters is applicable.


Constructor Summary
AttributeFilterPolicy(String id)
          Constructor.
 
Method Summary
 List<AttributeRule> getAttributeRules()
          Gets the attribute rules that are in effect if this policy is in effect.
 String getPolicyId()
          Gets the unique ID for this policy.
 MatchFunctor getPolicyRequirementRule()
          Gets the requirement for this policy.
 void setPolicyRequirementRule(MatchFunctor requirement)
          Sets the requirement for this policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeFilterPolicy

public AttributeFilterPolicy(String id)
Constructor.

Parameters:
id - unique ID for the policy
Method Detail

getPolicyId

public String getPolicyId()
Gets the unique ID for this policy.

Returns:
unique ID for this policy

getPolicyRequirementRule

public MatchFunctor getPolicyRequirementRule()
Gets the requirement for this policy.

Returns:
requirement for this policy

setPolicyRequirementRule

public void setPolicyRequirementRule(MatchFunctor requirement)
Sets the requirement for this policy.

Parameters:
requirement - requirement for this policy

getAttributeRules

public List<AttributeRule> getAttributeRules()
Gets the attribute rules that are in effect if this policy is in effect.

Returns:
attribute rules that are in effect if this policy is in effect, never null


Copyright © 2006-2010 Internet2. All Rights Reserved.