All Downloads are FREE. Search and download functionalities are using the official Maven repository.

f.cxf-rt-ws-security.3.5.8.source-code.cxf-ehcache.xml Maven / Gradle / Ivy

There is a newer version: 4.0.5
Show newest version
<?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