简体   繁体   English

wso2身份服务器PAP,PDP,PEP缓存

[英]wso2 identity server PAP,PDP,PEP caching

http://xacmlinfo.org/tag/pep-cache/如何在wso2身份服务器4.5.0中的PDP,PEP,PAP中启用缓存

In Identity server, you can find... PDP level caching... it means, there are three caches.. 在身份服务器中,您可以找到... PDP级别的缓存...,这意味着有三个缓存。

  1. Policy cache --> This is by default enable. 策略缓存->默认情况下启用。 All policies are stored in in-memory by default. 默认情况下,所有策略都存储在内存中。 You can not change any thing with this. 您不能更改任何东西。
  2. Decision cache --> This is by default enable. 决策缓存->默认情况下启用。 You can configure it (enable/disable and cache timeout) using entitlement.properties file which can be found at <IS_HOME>/repository/conf/security directory. 您可以使用entitlement.properties文件对其进行配置(启用/禁用和缓存超时),该文件位于<IS_HOME>/repository/conf/security目录中。

  3. Attribute cache --> This is by default enable. 属性缓存->默认情况下启用。 You can configure it (enable/disable and cache timeout) using entitlement.properties file which can be found at <IS_HOME>/repository/conf/security directory. 您可以使用entitlement.properties文件对其进行配置(启用/禁用和缓存超时),该文件位于<IS_HOME>/repository/conf/security目录中。

Policy and Decision caches are invalidated, when policy update is detected. 检测到策略更新时,策略和决策缓存无效。 Also there are Web service API to clear these caches. 另外,还有Web服务API可以清除这些缓存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM