org.opensaml.ws.security.provider
Class BaseSecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>

java.lang.Object
  extended by org.opensaml.ws.security.provider.BaseSecurityPolicyFactory<RequestType>
Type Parameters:
RequestType - type of incoming protocol request
All Implemented Interfaces:
SecurityPolicyFactory<RequestType>
Direct Known Subclasses:
BasicSecurityPolicyFactory, SAMLSecurityPolicyFactory

public abstract class BaseSecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>
extends java.lang.Object
implements SecurityPolicyFactory<RequestType>

Base class for SecurityPolicyFactory implementations.


Constructor Summary
protected BaseSecurityPolicyFactory()
          Constructor.
 
Method Summary
 java.util.List<SecurityPolicyRuleFactory<RequestType>> getPolicyRuleFactories()
          Gets the list of security policy rule factories used to create the rules within a security policy.
protected  java.util.List<SecurityPolicyRule<RequestType>> getPolicyRuleInstances()
          Gets a set of newly built SecurityPolicyRules from the registered factories.
 void setPolicyRuleFactories(java.util.List<SecurityPolicyRuleFactory<RequestType>> ruleFactories)
          Sets the factories for the security policy rules for the security policy produced by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.ws.security.SecurityPolicyFactory
createPolicyInstance
 

Constructor Detail

BaseSecurityPolicyFactory

protected BaseSecurityPolicyFactory()
Constructor.

Method Detail

getPolicyRuleFactories

public java.util.List<SecurityPolicyRuleFactory<RequestType>> getPolicyRuleFactories()
Gets the list of security policy rule factories used to create the rules within a security policy.

Specified by:
getPolicyRuleFactories in interface SecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>
Returns:
list of security policy rule factories used to create the rules within a security policy

setPolicyRuleFactories

public void setPolicyRuleFactories(java.util.List<SecurityPolicyRuleFactory<RequestType>> ruleFactories)
Sets the factories for the security policy rules for the security policy produced by this factory.

Parameters:
ruleFactories - Factories for the security policy rules for the security policy produced by this factory

getPolicyRuleInstances

protected java.util.List<SecurityPolicyRule<RequestType>> getPolicyRuleInstances()
Gets a set of newly built SecurityPolicyRules from the registered factories. Created rules are in the same order as the registered factories.

Returns:
newly built SecurityPolicyRules from the registered factories