edu.internet2.middleware.shibboleth.common.config.attribute.filtering
Class AttributeFilterPolicyFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.attribute.filtering.AttributeFilterPolicyFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean

public class AttributeFilterPolicyFactoryBean
extends AbstractFactoryBean

Spring factory for AttributeFilterPolicys.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
AttributeFilterPolicyFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 List<AttributeRule> getAttributeRules()
          Gets the attribute rules that are in effect if this policy is in effect.
 Class getObjectType()
          
 String getPolicyId()
          Gets the unique ID for this policy.
 MatchFunctor getPolicyRequirement()
          Gets the requirement for this policy.
 void setAttributeRules(List<AttributeRule> rules)
          Sets the attribute rules that are in effect if this policy is in effect.
 void setPolicyId(String id)
          Sets the unique ID for this policy.
 void setPolicyRequirement(MatchFunctor requirement)
          Sets the requirement for this policy.
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeFilterPolicyFactoryBean

public AttributeFilterPolicyFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface FactoryBean
Specified by:
getObjectType in class AbstractFactoryBean

getPolicyId

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

Returns:
unique ID for this policy

setPolicyId

public void setPolicyId(String id)
Sets the unique ID for this policy.

Parameters:
id - unique ID for this policy

getPolicyRequirement

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

Returns:
requirement for this policy

setPolicyRequirement

public void setPolicyRequirement(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

setAttributeRules

public void setAttributeRules(List<AttributeRule> rules)
Sets the attribute rules that are in effect if this policy is in effect.

Parameters:
rules - attribute rules that are in effect if this policy is in effect

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.