f.cxf-rt-ws-security.3.5.8.source-code.cxf-ehcache.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxf-rt-ws-security Show documentation
Show all versions of cxf-rt-ws-security Show documentation
Apache CXF Runtime WS Security
<?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"> <!-- Security Tokens are not writable to Disk so use a memory only cache with a bit larger maxEntriesLocalHeap. However, this cache is per-endpoint so not "too large" to not consume the entire heap. --> <cache-template name="org.apache.cxf.ws.security.tokenstore.TokenStore"> <key-type>java.lang.String</key-type> <value-type>org.apache.cxf.ws.security.tokenstore.SecurityToken</value-type> <expiry> <ttl unit="seconds">3600</ttl> </expiry> <resources> <heap unit="entries">10000</heap> </resources> </cache-template> </config>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy