{"action":"created","issue":{"url":"https://api.github.com/repos/rhq-project/rhq/issues/348","repository_url":"https://api.github.com/repos/rhq-project/rhq","labels_url":"https://api.github.com/repos/rhq-project/rhq/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/rhq-project/rhq/issues/348/comments","events_url":"https://api.github.com/repos/rhq-project/rhq/issues/348/events","html_url":"https://github.com/rhq-project/rhq/pull/348","id":351675369,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MjEwMTg4","number":348,"title":"Bug 1542125 - Allows rest user to logout to be able to refresh its permissions","user":{"login":"josejulio","id":3845764,"node_id":"MDQ6VXNlcjM4NDU3NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3845764?v=4","gravatar_id":"","url":"https://api.github.com/users/josejulio","html_url":"https://github.com/josejulio","followers_url":"https://api.github.com/users/josejulio/followers","following_url":"https://api.github.com/users/josejulio/following{/other_user}","gists_url":"https://api.github.com/users/josejulio/gists{/gist_id}","starred_url":"https://api.github.com/users/josejulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josejulio/subscriptions","organizations_url":"https://api.github.com/users/josejulio/orgs","repos_url":"https://api.github.com/users/josejulio/repos","events_url":"https://api.github.com/users/josejulio/events{/privacy}","received_events_url":"https://api.github.com/users/josejulio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T17:25:00Z","updated_at":"2018-08-20T21:02:40Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/rhq-project/rhq/pulls/348","html_url":"https://github.com/rhq-project/rhq/pull/348","diff_url":"https://github.com/rhq-project/rhq/pull/348.diff","patch_url":"https://github.com/rhq-project/rhq/pull/348.patch"},"body":"- Set SecurityDomain[RHQRESTSecurityDomain] cache-type to infinispan\r\n - Creates infinispan cache at server install\r\n   (named security, which is what cache-type=infinispan uses)\r\n - Creates new endpoint /user/logout to force the removal of the\r\n   logged user cache\r\n\r\nReverts https://github.com/rhq-project/rhq/commit/5837457f16bdd16d7c956bfbeb549de0fe478e13 (i.e. reverts the revert)\r\n\r\nThis make the following changes to `standalone-full.xml` while installing:\r\n\r\n- security-domain name=\"RHQRESTSecurityDomain\" cache-type is changed from `default` to `infinispan`\r\n- The following `cache-container` is created:\r\n```xml\r\n<cache-container name=\"security\" default-cache=\"auth-cache\" jndi-name=\"java:jboss/infinispan/security\">\r\n    <local-cache name=\"auth-cache\">\r\n        <eviction strategy=\"LRU\" max-entries=\"1000\"/>\r\n        <expiration max-idle=\"200000\" lifespan=\"900000\"/>\r\n     </local-cache>\r\n</cache-container>\r\n```"},"comment":{"url":"https://api.github.com/repos/rhq-project/rhq/issues/comments/414462309","html_url":"https://github.com/rhq-project/rhq/pull/348#issuecomment-414462309","issue_url":"https://api.github.com/repos/rhq-project/rhq/issues/348","id":414462309,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDQ2MjMwOQ==","user":{"login":"loleary","id":2464644,"node_id":"MDQ6VXNlcjI0NjQ2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2464644?v=4","gravatar_id":"","url":"https://api.github.com/users/loleary","html_url":"https://github.com/loleary","followers_url":"https://api.github.com/users/loleary/followers","following_url":"https://api.github.com/users/loleary/following{/other_user}","gists_url":"https://api.github.com/users/loleary/gists{/gist_id}","starred_url":"https://api.github.com/users/loleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loleary/subscriptions","organizations_url":"https://api.github.com/users/loleary/orgs","repos_url":"https://api.github.com/users/loleary/repos","events_url":"https://api.github.com/users/loleary/events{/privacy}","received_events_url":"https://api.github.com/users/loleary/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T21:02:40Z","updated_at":"2018-08-20T21:02:40Z","author_association":"CONTRIBUTOR","body":"I am assuming that the `java:jboss/infinispan/security` _cache-container_ can be added using the apply-updates command for existing installations? \r\n\r\nIt also seems that 5837457f16bdd16d7c956bfbeb549de0fe478e13 was doing other stuff. Was it not? \r\n\r\nFrom the BZ I can see that you tested but do not see the test scenario in where the role was removed and you waited for the cache expiration to ensure that all was good."}}
{"actor":{"display_login":"loleary"}}