Bug 1054860
| Summary: | Cloning repository over REST fails with java.security.AccessControlException: access denied | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Locker <jlocker> | ||||
| Component: | Business Central | Assignee: | Ryan Zhang <rzhang> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.0.0 | CC: | lpetrovi, mwinkler, rrajasek | ||||
| Target Milestone: | CR2 | ||||||
| Target Release: | 6.0.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 20:08:50 UTC | 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: | 1054834 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
Created attachment 851677 [details]
response.xml
Same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1054834 Security policy applied in CR1 in preventing various operations, does work if the security policy is disabled (in jboss-eap-6.1/bin/standalone.conf, comment out the last line where the security policy is enabled). This could be used as a workaround to continue work while we investigate further. Should be solved when applying the fix as described in https://bugzilla.redhat.com/show_bug.cgi?id=1054834 Mark it as modified since it should be fixed as Bug 1054834. No longer failing. VERIFIED with CR2. |
Description of problem: When I run this command curl -u '<credentials>' -H 'Accept: application/json' -H 'Content-Type: application/json' -X POST -d '{"name":"bpms-assets", "requestType":"clone", "gitURL":"http://git.app.eng.bos.redhat.com/git/bpms-assets.git"}' "http://localhost:8080/business-central/rest/repositories/" I get: Exception executing consequence for rule "approve" in org.drools.workbench.common.services.rest.approver: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) Version-Release number of selected component (if applicable): CR1 Additional info: See attached response.xml for exception stack trace.