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

java.lang.Object
  extended by org.opensaml.ws.security.provider.BaseSecurityPolicyFactory<RequestType>
      extended by org.opensaml.ws.security.provider.BasicSecurityPolicyFactory<RequestType>
Type Parameters:
RequestType - the message request type
All Implemented Interfaces:
SecurityPolicyFactory<RequestType>

public class BasicSecurityPolicyFactory<RequestType extends javax.servlet.ServletRequest>
extends BaseSecurityPolicyFactory<RequestType>

Factory that produces BasicSecurityPolicy instances.


Constructor Summary
BasicSecurityPolicyFactory()
           
 
Method Summary
 SecurityPolicy<RequestType> createPolicyInstance()
          Creates an instance of a policy.
 boolean isRequireAuthenticatedIssuer()
          Gets whether the issuer of the message must be authenticated in order to pass this policy.
 void setRequireAuthenticatedIssuer(boolean require)
          Sets whether the issuer of the message must be authenticated in order to pass this policy.
 
Methods inherited from class org.opensaml.ws.security.provider.BaseSecurityPolicyFactory
getPolicyRuleFactories, getPolicyRuleInstances, setPolicyRuleFactories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSecurityPolicyFactory

public BasicSecurityPolicyFactory()
Method Detail

isRequireAuthenticatedIssuer

public boolean isRequireAuthenticatedIssuer()
Gets whether the issuer of the message must be authenticated in order to pass this policy.

Returns:
whether the issuer of the message must be authenticated in order to pass this policy

setRequireAuthenticatedIssuer

public void setRequireAuthenticatedIssuer(boolean require)
Sets whether the issuer of the message must be authenticated in order to pass this policy.

Parameters:
require - whether the issuer of the message must be authenticated in order to pass this policy

createPolicyInstance

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

Returns:
an instance of a policy