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.


Field Summary
private  List<AttributeRule> attributeRules
          Filters to be used on attribute values.
private  String policyId
          Unique identifier for this policy.
private  MatchFunctor policyRequirementRule
          Requirement that must be met for this policy to apply.
 
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
 

Field Detail

policyId

private String policyId
Unique identifier for this policy.


policyRequirementRule

private MatchFunctor policyRequirementRule
Requirement that must be met for this policy to apply.


attributeRules

private List<AttributeRule> attributeRules
Filters to be used on attribute values.

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