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

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

public class AttributeRule
extends Object

Represents a value filtering rule for a particular attribute.


Constructor Summary
AttributeRule(String id)
          Constructor.
 
Method Summary
 String getAttributeId()
          Gets the ID of the attribute to which this rule applies.
 MatchFunctor getDenyValueRule()
          Gets the filter that denies the release of attribute values.
 MatchFunctor getPermitValueRule()
          Gets the filter that permits the release of attribute values.
 void setDenyValueRule(MatchFunctor filter)
          Sets the filter that denies the release of attribute values.
 void setPermitValueRule(MatchFunctor filter)
          Sets the filter that permits the release of attribute values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeRule

public AttributeRule(String id)
Constructor.

Parameters:
id - unique ID of this rule
Method Detail

getAttributeId

public String getAttributeId()
Gets the ID of the attribute to which this rule applies.

Returns:
ID of the attribute to which this rule applies

getPermitValueRule

public MatchFunctor getPermitValueRule()
Gets the filter that permits the release of attribute values.

Returns:
filter that permits the release of attribute values

setPermitValueRule

public void setPermitValueRule(MatchFunctor filter)
Sets the filter that permits the release of attribute values.

Parameters:
filter - filter that permits the release of attribute values

getDenyValueRule

public MatchFunctor getDenyValueRule()
Gets the filter that denies the release of attribute values.

Returns:
filter that denies the release of attribute values

setDenyValueRule

public void setDenyValueRule(MatchFunctor filter)
Sets the filter that denies the release of attribute values.

Parameters:
filter - filter that denies the release of attribute values


Copyright © 2006-2008 Internet2. All Rights Reserved.