[
https://issues.apache.org/jira/browse/KNOX-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200265#comment-14200265
]
ASF subversion and git services commented on KNOX-468:
------------------------------------------------------
Commit d29a819f3d9fbcd9b7c2ca68d7850b3d83468968 in knox's branch
refs/heads/master from [~lmccay]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=d29a819 ]
KNOX-468 update group lookup topologies to configure cache manager
> Add default config to optimize LDAP group lookup
> ------------------------------------------------
>
> Key: KNOX-468
> URL: https://issues.apache.org/jira/browse/KNOX-468
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.5.0
> Reporter: Kevin Minder
> Priority: Critical
> Fix For: 0.6.0
>
>
> The config below needs to be added to the Shiro provider in order to prevent
> LDAP group lookup every request.
> {code}
> cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
> securityManager.cacheManager = $cacheManager
> {code}
> {code:xml}
> <topology>
> <gateway>
> <provider>
> <role>authentication</role>
> <name>ShiroProvider</name>
> ...
> <param>
> <name>main.cacheManager</name>
>
> <value>org.apache.shiro.cache.MemoryConstrainedCacheManager</value>
> </param>
> <param>
> <name>main.securityManager.cacheManager</name>
> <value>$cacheManager</value>
> </param>
> ....
> </provider>
> ....
> </gateway>
> ...
> </topology>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)