Bug 1016420
Summary: | org.picketlink.idm.impl.cache.AbstractInfinispanCacheProvider.getNamespaceForFqn replace inconsistency | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Adam Kovari <akovari> | |
Component: | PicketLink | Assignee: | mposolda | |
Status: | VERIFIED --- | QA Contact: | Tomas Kyjovsky <tkyjovsk> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.0.0 | CC: | bdawidow, jpallich, mposolda, nobody, ppalaga, tkyjovsk | |
Target Milestone: | DR01 | |||
Target Release: | 6.1.1 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | FixAvail | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
An issue with PicketlinkIDMCacheService prevented some items being invalidated through JMX.
The fix implements changes to PicketlinkIDMCacheService which makes it possible to invalidate all IDM cache items through JMX. The fix also adds the functionality to invalidate items from apiCacheProvider, storeCacheProvider and IntegrationCache.
For example, using these arguments to invalidate() operation of JMX should work now:
"idm_realm_portal/USERS/demo",
"idm_realm_portal/GROUP_SEARCHES/123456".
|
Story Points: | --- | |
Clone Of: | ||||
: | 1018683 1032440 (view as bug list) | Environment: | ||
Last Closed: | Type: | Bug | ||
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1032440, 1018683 |
Description
Adam Kovari
2013-10-08 07:11:41 UTC
I've commited the fix to Picketlink IDM here https://github.com/picketlink/picketlink-idm/commit/0735c6b6ba0b31f63747976b4738a92dfb27e033 . It will be available in next version of Picketlink IDM (Likely version 1.4.4.Final) With this fix, it's not possible to have realm names with character "/" in name, but this doesn't affect GateIn/JPP anyway because here are realm names without "/" character. If you want to try the fix rigt now before official Picketlink IDM release, you can test with latest SNAPSHOT. So you will just need to: - Checkout latest 1.4 branch from https://github.com/picketlink/picketlink-idm/tree/1.4 - Build it with "mvn clean install" - Copy file picketlink-idm-cache/target/picketlink-idm-cache-1.4.4.Final-SNAPSHOT.jar to GATEIN_HOME/modules/org/picketlink/idm/main/ to replace the current file picketlink-idm-cache-*.jar (you will also need to update file name in GATEIN_HOME/modules/org/picketlink/idm/main/module.xml) - Now you can invalidate records in cache by calling the JMX "invalidate" operation with arguments like "idm_realm_portal/USERS/root" or "idm_realm_portal/ATTRIBUTES/root" Fixed. Requires PLIDM release and upgrading it in 3.6.x branch PLIDM upgraded to 1.4.4 in 3.6.x branch. Verified using PicketLinkIDMCacheService MBean. This issue is quite similar to https://bugzilla.redhat.com/show_bug.cgi?id=1032440 and has defacto same cause. I think that same "Doc text" could be shared for this issue as for 1032440. So I just copy-pasted the already existing text from 1032440 (Sending flag requires_doc_text flag to ? so Jared can doublecheck and confirm) |