f.cxf-rt-rs-security-sso-saml.4.0.5.source-code.cxf-samlp-ehcache.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://www.ehcache.org/v3' xsi:schemaLocation="http://www.ehcache.org/v3 http://www.ehcache.org/schema/ehcache-core-3.8.xsd"> <cache-template name="cxf.samlp.replay.cache"> <key-type>java.lang.String</key-type> <value-type>org.apache.wss4j.common.cache.EHCacheValue</value-type> <expiry> <class>org.apache.wss4j.common.cache.EHCacheExpiry</class> </expiry> <resources> <heap unit="entries">5000</heap> <disk unit="MB" persistent="false">10</disk> </resources> </cache-template> <cache-template name="cxf.samlp.request.state.cache"> <key-type>java.lang.String</key-type> <value-type>org.apache.cxf.rs.security.saml.sso.state.RequestState</value-type> <expiry> <ttl unit="seconds">300</ttl> </expiry> <resources> <heap unit="entries">5000</heap> <disk unit="MB" persistent="false">10</disk> </resources> </cache-template> <cache-template name="cxf.samlp.response.state.cache"> <key-type>java.lang.String</key-type> <value-type>org.apache.cxf.rs.security.saml.sso.state.ResponseState</value-type> <expiry> <ttl unit="seconds">300</ttl> </expiry> <resources> <heap unit="entries">5000</heap> <disk unit="MB" persistent="false">10</disk> </resources> </cache-template> </config>