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.


Field Summary
private  String attributeId
          Unique ID of the attribute this rule applies to.
private  MatchFunctor denyValueRule
          Filter that denies the release of attribute values.
private  MatchFunctor permitValueRule
          Filter that permits the release of attribute values.
 
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
 

Field Detail

attributeId

private String attributeId
Unique ID of the attribute this rule applies to.


permitValueRule

private MatchFunctor permitValueRule
Filter that permits the release of attribute values.


denyValueRule

private MatchFunctor denyValueRule
Filter that denies the release of attribute values.

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