|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2019 Red Hat, Inc. and/or its affiliates |
| 4 | + ~ and other contributors as indicated by the @author tags. |
| 5 | + ~ |
| 6 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + ~ you may not use this file except in compliance with the License. |
| 8 | + ~ You may obtain a copy of the License at |
| 9 | + ~ |
| 10 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + ~ |
| 12 | + ~ Unless required by applicable law or agreed to in writing, software |
| 13 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + ~ See the License for the specific language governing permissions and |
| 16 | + ~ limitations under the License. |
| 17 | + --> |
| 18 | + |
| 19 | +<infinispan |
| 20 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | + xsi:schemaLocation="urn:infinispan:config:14.0 http://www.infinispan.org/schemas/infinispan-config-14.0.xsd" |
| 22 | + xmlns="urn:infinispan:config:14.0"> |
| 23 | + |
| 24 | + <cache-container name="keycloak"> |
| 25 | + <transport lock-timeout="60000"/> |
| 26 | + <local-cache name="realms"> |
| 27 | + <encoding> |
| 28 | + <key media-type="application/x-java-object"/> |
| 29 | + <value media-type="application/x-java-object"/> |
| 30 | + </encoding> |
| 31 | + <memory max-count="10000"/> |
| 32 | + </local-cache> |
| 33 | + <local-cache name="users"> |
| 34 | + <encoding> |
| 35 | + <key media-type="application/x-java-object"/> |
| 36 | + <value media-type="application/x-java-object"/> |
| 37 | + </encoding> |
| 38 | + <memory max-count="10000"/> |
| 39 | + </local-cache> |
| 40 | + <distributed-cache name="sessions" owners="2"> |
| 41 | + <expiration lifespan="-1"/> |
| 42 | + </distributed-cache> |
| 43 | + <distributed-cache name="authenticationSessions" owners="2"> |
| 44 | + <expiration lifespan="-1"/> |
| 45 | + </distributed-cache> |
| 46 | + <distributed-cache name="offlineSessions" owners="2"> |
| 47 | + <expiration lifespan="-1"/> |
| 48 | + </distributed-cache> |
| 49 | + <distributed-cache name="clientSessions" owners="2"> |
| 50 | + <expiration lifespan="-1"/> |
| 51 | + </distributed-cache> |
| 52 | + <distributed-cache name="offlineClientSessions" owners="2"> |
| 53 | + <expiration lifespan="-1"/> |
| 54 | + </distributed-cache> |
| 55 | + <distributed-cache name="loginFailures" owners="2"> |
| 56 | + <expiration lifespan="-1"/> |
| 57 | + </distributed-cache> |
| 58 | + <local-cache name="authorization"> |
| 59 | + <encoding> |
| 60 | + <key media-type="application/x-java-object"/> |
| 61 | + <value media-type="application/x-java-object"/> |
| 62 | + </encoding> |
| 63 | + <memory max-count="10000"/> |
| 64 | + </local-cache> |
| 65 | + <replicated-cache name="work"> |
| 66 | + <expiration lifespan="-1"/> |
| 67 | + </replicated-cache> |
| 68 | + <local-cache name="keys"> |
| 69 | + <encoding> |
| 70 | + <key media-type="application/x-java-object"/> |
| 71 | + <value media-type="application/x-java-object"/> |
| 72 | + </encoding> |
| 73 | + <expiration max-idle="3600000"/> |
| 74 | + <memory max-count="1000"/> |
| 75 | + </local-cache> |
| 76 | + <distributed-cache name="actionTokens" owners="2"> |
| 77 | + <encoding> |
| 78 | + <key media-type="application/x-java-object"/> |
| 79 | + <value media-type="application/x-java-object"/> |
| 80 | + </encoding> |
| 81 | + <expiration max-idle="-1" lifespan="-1" interval="300000"/> |
| 82 | + <memory max-count="-1"/> |
| 83 | + </distributed-cache> |
| 84 | + </cache-container> |
| 85 | +</infinispan> |
0 commit comments