org.opensaml.ws.security
Interface SecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>

Type Parameters:
RequestType - type of incoming protocol request
All Known Implementing Classes:
BaseSecurityPolicyFactory, BasicSecurityPolicyFactory, SAMLSecurityPolicyFactory

public interface SecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>

A factory of security policy instances.


Method Summary
 SecurityPolicy<RequestType> createPolicyInstance()
          Creates an instance of a policy.
 java.util.List<SecurityPolicyRuleFactory<RequestType>> getPolicyRuleFactories()
          Gets the list of security policy rule factories used to create the rules within a security policy.
 

Method Detail

getPolicyRuleFactories

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

Returns:
list of security policy rule factories used to create the rules within a security policy

createPolicyInstance

SecurityPolicy<RequestType> createPolicyInstance()
Creates an instance of a policy.

Returns:
an instance of a policy