edu.internet2.middleware.shibboleth.common.config.security
Class ShibbolethSecurityPolicyFactoryBean

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

public class ShibbolethSecurityPolicyFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

Spring factory bean for producing ShibbolethSecurityPolicys.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ShibbolethSecurityPolicyFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 Class getObjectType()
          
 String getPolicyId()
          Gets the unique ID of the policy.
 ArrayList<org.opensaml.ws.security.SecurityPolicyRule> getPolicyRules()
          Gets the rules that make up the policy.
 void setPolicyId(String id)
          Sets the unique ID of the policy.
 void setPolicyRules(ArrayList<org.opensaml.ws.security.SecurityPolicyRule> rules)
          Sets the rules that make up the 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

ShibbolethSecurityPolicyFactoryBean

public ShibbolethSecurityPolicyFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

getPolicyId

public String getPolicyId()
Gets the unique ID of the policy.

Returns:
unique ID of the policy

setPolicyId

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

Parameters:
id - unique ID of the policy

getPolicyRules

public ArrayList<org.opensaml.ws.security.SecurityPolicyRule> getPolicyRules()
Gets the rules that make up the policy.

Returns:
rules that make up the policy

setPolicyRules

public void setPolicyRules(ArrayList<org.opensaml.ws.security.SecurityPolicyRule> rules)
Sets the rules that make up the policy.

Parameters:
rules - rules that make up the policy

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.