Thanks a lot Nadeesha. We are going to maintain the entitlement JAR source within the API Manager from 2.2.0 onwards. Uvindra is working on it.
I have tested the dependency fixed jar given by Uvindra and it is working without an issue when we are using Identity Server as PDP as described in the Documentation [1]. Docs are updated with the fixed jar now. [1] https://docs.wso2.com/display/AM210/Enabling+Role- Based+Access+Control+Using+XACML Thanks, Chamalee On Thu, Jan 11, 2018 at 10:29 AM, Nadeesha Gamage <[email protected]> wrote: > Hi Charmalee, > I have updated the maven file in Git repo to get the latest dependencies > and the jar is build successfully, however I am unable to test this with > API M 2.1.0 as XACML features cannot be installed in API Manager 2.1.0. > > Thank you, > Nadeesha > > On Thu, Jan 4, 2018 at 3:22 PM, Nadeesha Gamage <[email protected]> wrote: > >> Hi Chamalee, >> This was done for API Manager 1.8 or 1.9, I will check on this and get >> back to you. >> >> Nadeesha >> >> On Thu, Jan 4, 2018 at 3:15 PM, Chamalee De Silva <[email protected]> >> wrote: >> >>> Hi Nadeesha, >>> >>> This is regarding mail thread [1]. >>> Documentation [2] >>> <https://docs.wso2.com/display/AM210/Enabling+Role-Based+Access+Control+Using+XACML> >>> has provided the source of the entitlement-1.0-SNAPSHOT JAR >>> <https://docs.wso2.com/download/attachments/48269310/entitlement-1.0-SNAPSHOT.jar?version=1&modificationDate=1461127204000&api=v2> >>> as >>> [3] <https://github.com/nadeesha5814/XACML-APIManager> and when >>> building it, it fails with following. >>> >>> I could reproduce the same which is mentioned in [1]. >>> >>> Can I know what are the other repositories that need to build to get >>> this jar built successfully and is this compatible with API Manager 2.1.0 ? >>> >>> >>> >>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option >>> MaxPermSize=2048m; support was removed in 8.0 >>> [INFO] Scanning for projects... >>> [INFO] >>> >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] Building entitlement 1.0-SNAPSHOT >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> Downloading: https://server.oosnmp.net/dist >>> /release/org/apache/bsf/bsf-all/3.0/bsf-all-3.0.pom >>> [WARNING] The POM for org.eclipse.osgi:org.eclipse.o >>> sgi.services:jar:3.2.0.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.util:jar:1.0.100.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.ds:jar:1.1.0.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.jsp.jasper:jar:1.0.200.v20090520-1800 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:javax.serv >>> let.jsp:jar:2.0.0.v200806031607 is missing, no dependency information >>> available >>> [WARNING] The POM for org.eclipse.equinox:org.apache >>> .jasper:jar:5.5.17.v200806031609 is missing, no dependency information >>> available >>> [WARNING] The POM for org.eclipse.equinox:org.apache >>> .commons.el:jar:1.0.0.v200806031608 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.app:jar:1.2.0.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.concurrent:jar:1.0.0.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.frameworkadmin:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.frameworkadmin.equinox:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.artifact.repository:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.core:jar:1.0.100.v20090520-1905 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.director:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.director.app:jar:1.0.100.v20090521-1912 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.directorywatcher:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.engine:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.exemplarysetup:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.extensionlocation:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.jarprocessor:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.metadata.generator:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.metadata:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.metadata.repository:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.reconciler.dropins:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.publisher:jar:1.0.0.v20090521-1912 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.repository.tools:jar:1.0.0.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.repository:jar:1.0.0.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.touchpoint.natives:jar:1.0.100.v20090520-1905 is missing, >>> no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.updatechecker:jar:1.1.0.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.preferences:jar:3.2.300.v20090520-1800 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.security:jar:1.0.100.v20090520-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.simpleconfigurator.manipulator:jar:1.0.100.v20090520-1905 is >>> missing, no dependency information available >>> [WARNING] The POM for org.eclipse.equinox:org.eclips >>> e.equinox.p2.updatesite:jar:1.0.100.v20090520-1905 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse.core:org.eclipse.c >>> ore.commands:jar:3.5.0.I20090429-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.core:org.eclipse.c >>> ore.contenttype:jar:3.4.0.v20090429-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.core:org.eclipse.c >>> ore.expressions:jar:3.4.100.v20090429-1800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.core:org.eclipse.core.net: >>> jar:1.2.0.I20090522-1010 is missing, no dependency information available >>> [WARNING] The POM for org.eclipse.core:org.eclipse.c >>> ore.runtime.compatibility.auth:jar:3.2.100.v20090413 is missing, no >>> dependency information available >>> [WARNING] The POM for >>> org.eclipse.ecf:org.eclipse.ecf:jar:3.0.0.v20090520-0800 >>> is missing, no dependency information available >>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec >>> f.filetransfer:jar:3.0.0.v20090520-0800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec >>> f.identity:jar:3.0.0.v20090520-0800 is missing, no dependency >>> information available >>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec >>> f.provider.filetransfer:jar:3.0.0.v20090520-0800 is missing, no >>> dependency information available >>> [WARNING] The POM for org.eclipse:org.sat4j.core:jar:2.1.0.v20090520 is >>> missing, no dependency information available >>> [WARNING] The POM for org.eclipse:org.sat4j.pb:jar:2.1.0.v20090520 is >>> missing, no dependency information available >>> [WARNING] The POM for org.eclipse:com.ibm.icu:jar:4.0.1.v20090415 is >>> missing, no dependency information available >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] BUILD FAILURE >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] Total time: 3.534 s >>> [INFO] Finished at: 2018-01-04T15:05:31+05:30 >>> [INFO] Final Memory: 24M/546M >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [ERROR] Failed to execute goal on project entitlement: Could not resolve >>> dependencies for project >>> org.wso2.sample.callback:entitlement:jar:1.0-SNAPSHOT: >>> Failed to collect dependencies at >>> org.wso2.carbon:org.wso2.carbon.apimgt.gateway:jar:1.0.5 >>> -> org.wso2.carbon:org.wso2.carbon.mediation.initializer:jar:4.0.2 -> >>> org.wso2.carbon:org.wso2.carbon.mediation.dependency.mgt:jar:4.0.0 -> >>> org.apache.synapse:synapse-extensions:jar:2.1.0-wso2v6 -> >>> org.apache.bsf:bsf-all:jar:3.0: Failed to read artifact descriptor for >>> org.apache.bsf:bsf-all:jar:3.0: Could not transfer artifact >>> org.apache.bsf:bsf-all:pom:3.0 from/to snmp4j-repo ( >>> https://server.oosnmp.net/dist/release/): hostname in certificate >>> didn't match: <server.oosnmp.net> != <www.oosnmp.net> OR <www.oosnmp.net> >>> OR <oosnmp.net> -> [Help 1] >>> [ERROR] >>> [ERROR] To see the full stack trace of the errors, re-run Maven with the >>> -e switch. >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>> [ERROR] >>> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >>> [ERROR] [Help 1] http://cwiki.apache.org/conflu >>> ence/display/MAVEN/DependencyResolutionException >>> >>> >>> >>> >>> >>> >>> [1] XACML jar source >>> [2] https://docs.wso2.com/display/AM210/Enabling+Role-Based+ >>> Access+Control+Using+XACML >>> [3] https://github.com/nadeesha5814/XACML-APIManager >>> >>> >>> >>> Thanks, >>> Chamalee >>> -- >>> Thanks & Regards, >>> >>> *Chamalee De Silva* >>> Software Engineer >>> *WS**O2* Inc. :http://wso2.com/ >>> >>> Office :- *+94 11 2145345 <%2B94%2011%202145345>* >>> mobile :- *+94 7 <%2B94%2077%202782039>1 4315942* >>> >>> >> >> >> -- >> Nadeesha Gamage >> Lead Solutions Engineer >> T : +94 77 394 5706 <+94%2077%20394%205706> >> B : https://nadeesha678.wordpress.com/ >> > > > > -- > Nadeesha Gamage > Lead Solutions Engineer > T : +94 77 394 5706 <+94%2077%20394%205706> > B : https://nadeesha678.wordpress.com/ > -- Thanks & Regards, *Chamalee De Silva* Software Engineer *WS**O2* Inc. :http://wso2.com/ Office :- *+94 11 2145345 <%2B94%2011%202145345>* mobile :- *+94 7 <%2B94%2077%202782039>1 4315942*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
