- <bean id="shibboleth.ServletAttributeExporter"
- class="org.springframework.web.context.support.ServletContextAttributeExporter">
- <property name="attributes">
+ <bean id="shibboleth.SAML2AttributeQueryMessageSecurityPolicyFactory" class="org.opensaml.common.binding.security.SAMLSecurityPolicyFactory">
+ <property name="issuerRole">
+ <bean id="shibboleth.SAML2AttributeQueryRole" class="javax.xml.namespace.QName">
+ <constructor-arg value="urn:oasis:names:tc:SAML:2.0:metadata" />
+ <constructor-arg value="SPSSODescriptor" />
+ </bean>
+ </property>
+ <property name="issuerProtocol" value="urn:oasis:names:tc:SAML:2.0:protocol" />
+ <property name="policyRuleFactories">
+ <list>
+ <ref bean="shibboleth.SAML2ProtocolMessageRuleFactory" />
+ <ref bean="shibboleth.MessageIssueInstantRuleFactory" />
+ </list>
+ </property>
+ </bean>
+
+ <bean id="shibboleth.SAML2ProtocolMessageRuleFactory" class="org.opensaml.saml2.binding.security.SAML2ProtocolMessageRuleFactory" />
+
+ <bean id="shibboleth.MessageIssueInstantRuleFactory" class="org.opensaml.common.binding.security.IssueInstantRuleFactory">
+ <property name="clockSkew" value="5" />
+ <property name="expires" value="10" />
+ </bean>
+
+ <bean id="shibboleth.MessageEncoderFactory" class="org.opensaml.common.binding.encoding.MessageEncoderFactory">
+ <property name="encoderBuilders">