Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 13 13:13
    krystofNovotny opened #117
  • Oct 12 16:05

    pavelhoral on master

    [maven-release-plugin] prepare … (compare)

  • Oct 12 16:05

    pavelhoral on 6.0.1

    (compare)

  • Oct 12 16:05

    pavelhoral on master

    Update wrensec-script version t… [maven-release-plugin] prepare … (compare)

  • Oct 12 15:37
    pavelhoral closed #116
  • Oct 12 15:37

    pavelhoral on master

    Change BUILD_TAG back to enviro… (compare)

  • Oct 12 15:12

    pavelhoral on master

    [maven-release-plugin] prepare … (compare)

  • Oct 12 15:12

    pavelhoral on 4.4.1

    (compare)

  • Oct 12 15:12

    pavelhoral on master

    [maven-release-plugin] prepare … (compare)

  • Oct 12 14:54
    krystofNovotny closed #12
  • Oct 12 14:54
    krystofNovotny commented #12
  • Oct 12 14:32

    pavelhoral on master

    Fix concat behavior. (#12) Merge pull request #13 from kry… (compare)

  • Oct 12 14:32
    pavelhoral closed #13
  • Oct 12 14:32
    pavelhoral commented #13
  • Oct 12 14:22
    krystofNovotny opened #13
  • Oct 12 13:47
    krystofNovotny edited #12
  • Oct 12 13:46
    krystofNovotny opened #12
  • Oct 12 13:06

    karelmaxa on master

    Fix URL of DockerHub repository. (compare)

  • Oct 11 08:47
    krystofNovotny commented #116
  • Oct 08 14:56
    pavelhoral commented #116
sigegcp
@sigegcp

I have uploaded .bar file in sample/workflow directory.

Starting the IDM i have error message:
-> Error while closing command context
org.activiti.bpmn.exceptions.XMLException: Premature end of file.

Unable to deploy activiti bundle
org.activiti.bpmn.exceptions.XMLException: Premature end of file.

Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

Ia have created bar file inside Eclipse using Activiti as addon.

Pavel Horal
@pavelhoral
Confirmed WrenSecurity/wrenidm#90 - looks like some sample workflows are not working.
withusandeep
@withusandeep
Hi Guys , i am trying to use openam for social authentication with google .Openam has to go through outbound proxy which is protected with userid/password authentication .it is failing with error "java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 authenticationrequired""
i tried https://wikis.forgerock.org/confluence/display/openam/Configure+OpenAM+to+use+outbound+web+proxy and also -Djdk.http.auth.tunneling.disabledSchemes= but nothing seems to be workig. Any help appreciated
Pavel Horal
@pavelhoral
I am not sure there is a support for authenticated outbound proxy.
But it seems it should not be that complex to add this feature yourself as it can be configured on the JVM level.
withusandeep
@withusandeep
thanks Pavel Horal. will give a try. if you can give some pointer how to acheive that would be gr8
Pavel Horal
@pavelhoral
I am not sure, where the JRE support for authenticated proxy starts/ends... many articles mention http.proxyUser and http.proxyPassword system properties. But I am not sure if those are automagically picked up and used.
withusandeep
@withusandeep
proxyUser and proxyPassword are not java system properties .I think they are part of apache http client.
Pavel Horal
@pavelhoral
If those auth options are not supported in JRE by default and you need to register Authenticator yourself, I would probably hack that piece of code into ServletContextListener and register it in AM's web.xml.
withusandeep
@withusandeep
thinking about writing a tomcat filter class and set the proxy authentication there. no idea it will work or not
that is my plan .registering in web.xml
Pavel Horal
@pavelhoral
Filter might not be the best place for this as it seems to be one-time-only thing.
withusandeep
@withusandeep
yeah you are right
Pavel Horal
@pavelhoral
Btw. check for example https://stackoverflow.com/a/40996814/865403 (mainly the first comment)... that is why I am not sure what is actually supported by JRE.
withusandeep
@withusandeep
thanks . i tested all that options and noting seems to be working . So i think. i need to write the authenticator class and load it on startup
smukkand
@smukkand
Hi to Everyone , Glad to see the effort on enhancing the forgerock community edition, I have been into the forgerock stack for quite long time. Now a days i am more into the opensource technologies for my current company. I got into this error while build from wrenidm master branch:
image.png
[INFO] Wren:IDM - Provisioner System Bundle ............... SUCCESS [ 2.907 s]
[INFO] Wren:IDM - Provisioner System Bundle - Wren:ICF .... FAILURE [ 1.635 s]
[INFO] Wren:IDM - Repository Bundle - JDBC ................ SKIPPED
[INFO] Wren:IDM - Servlet Filter Registration Handler ..... SKIPPED
[INFO] Wren:IDM - API servlet ............................. SKIPPED
[INFO] Wren:IDM - Authentication Filter ................... SKIPPED
[INFO] Wren:IDM - Web Servlet ............................. SKIPPED
[INFO] Wren:IDM - Scheduler ............................... SKIPPED
[INFO] Wren:IDM - Fragment for Jetty Security ............. SKIPPED
[INFO] Wren:IDM - Self-Service Bundle ..................... SKIPPED
[INFO] Wren:IDM - Felix Gogo Shell ........................ SKIPPED
[INFO] Wren:IDM - Credential Management Service ........... SKIPPED
[INFO] Wren:IDM - UI - Parent ............................. SKIPPED
[INFO] Wren:IDM - UI - Common ............................. SKIPPED
[INFO] Wren:IDM - UI - Admin .............................. SKIPPED
[INFO] Wren:IDM - UI - End-user ........................... SKIPPED
[INFO] Wren:IDM - UI - API Explorer ....................... SKIPPED
[INFO] Wren:IDM - Activiti BPMN 2.0 Integration ........... SKIPPED
[INFO] Wren:IDM - Maintenance Handler ..................... SKIPPED
[INFO] Wren:IDM - Custom Groovy Connector Bundler ......... SKIPPED
[INFO] Wren:IDM - ZIP File Assembly ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:06 min
[INFO] Finished at: 2021-05-03T19:50:32+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:copy (copy-connectorbundles) on project openidm-provisioner-openicf: Unable to find/resolve artifact. Failed to read artifact descriptor for org.forgerock.openicf.connectors:xml-connector:jar:1.1.0.3: Could not transfer artifact org.forgerock.openicf.connectors:xml-connector:pom:1.1.0.3 from/to wrensecurity-forgerock-archive (http://dl.bintray.com/wrensecurity/forgerock-archive): Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/forgerock/openicf/connectors/xml-connector/1.1.0.3/xml-connector-1.1.0.3.pom -> [Help 1]
[ERROR]
Can someone help me?
Pavel Horal
@pavelhoral
That is a strange issue. Master should be 100 % buildable as our CI pipeline passes - https://github.com/WrenSecurity/wrenidm/actions/runs/796773893 .
What maven command are you using to build the project?
Pavel Horal
@pavelhoral
We might need to add xml-connector to our jfrog repository... I will look into it.
smukkand
@smukkand
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T20:36:16+05:30)
Maven home: /usr/local/Cellar/maven/3.6.2/libexec
Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_SG, platform encoding: UTF-8
OS name: "mac os x", version: "11.1", arch: "x86_64", family: "mac"
here are the maven and jdk versions
I see,, ok
Pavel Horal
@pavelhoral
This issue is on our side. We will work on resolving it tomorrow.
smukkand
@smukkand
Thanks @pavelhoral , looking forward to that.
smukkand
@smukkand
Looks like similar issue exist on wrenam build too.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.6:pmd (pmd) on project openam: Execution pmd of goal org.apache.maven.plugins:maven-pmd-plugin:3.6:pmd failed: Plugin org.apache.maven.plugins:maven-pmd-plugin:3.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-pmd-plugin:jar:3.6 -> org.forgerock.openam.pmd.rules:enforce-timeservice:jar:1.0.0: Failed to read artifact descriptor for org.forgerock.openam.pmd.rules:enforce-timeservice:jar:1.0.0: Could not transfer artifact org.forgerock.openam.pmd.rules:enforce-timeservice:pom:1.0.0 from/to wrensecurity-forgerock-archive (http://dl.bintray.com/wrensecurity/forgerock-archive): Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/forgerock/openam/pmd/rules/enforce-timeservice/1.0.0/enforce-timeservice-1.0.0.pom -> [Help 1]
[ERROR]
Francesco Chicchiriccò
@ilgrosso
Pavel Horal
@pavelhoral
Yap, already on it. We forgot some legacy artifacts in there.
Pavel Horal
@pavelhoral
I have moved all legacy artifacts under our JFrog release repo. Everything should be buildable again. You might get warnings about bintray - you can ignore those.
smukkand
@smukkand
@pavelhoral Unfortunately the build failed in different sections -
[INFO] Wren:IDM - Servlet Filter Registration Handler ..... SUCCESS [ 0.746 s]
[INFO] Wren:IDM - API servlet ............................. SUCCESS [ 2.214 s]
[INFO] Wren:IDM - Authentication Filter ................... SUCCESS [ 5.011 s]
[INFO] Wren:IDM - Web Servlet ............................. SUCCESS [ 0.533 s]
[INFO] Wren:IDM - Scheduler ............................... SUCCESS [ 2.774 s]
[INFO] Wren:IDM - Fragment for Jetty Security ............. SUCCESS [ 0.574 s]
[INFO] Wren:IDM - Self-Service Bundle ..................... SUCCESS [ 3.951 s]
[INFO] Wren:IDM - Felix Gogo Shell ........................ SUCCESS [ 2.210 s]
[INFO] Wren:IDM - Credential Management Service ........... SUCCESS [ 16.462 s]
[INFO] Wren:IDM - UI - Parent ............................. SUCCESS [ 0.015 s]
[INFO] Wren:IDM - UI - Common ............................. SUCCESS [ 9.510 s]
[INFO] Wren:IDM - UI - Admin .............................. FAILURE [ 59.135 s]
[INFO] Wren:IDM - UI - End-user ........................... FAILURE [03:25 min]
[INFO] Wren:IDM - UI - API Explorer ....................... SUCCESS [ 23.687 s]
[INFO] Wren:IDM - Activiti BPMN 2.0 Integration ........... SUCCESS [02:50 min]
[INFO] Wren:IDM - Maintenance Handler ..................... SUCCESS [ 11.497 s]
[INFO] Wren:IDM - Custom Groovy Connector Bundler ......... SUCCESS [02:12 min]
[INFO] Wren:IDM - ZIP File Assembly ....................... FAILURE [07:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:04 min
[INFO] Finished at: 2021-05-05T10:35:48+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt) on project openidm-ui-admin: Failed to run task: 'grunt build:dev --target-version=6.0.0-SNAPSHOT' failed. (error code 3) -> [Help 1]
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt) on project openidm-ui-enduser: Failed to run task: 'grunt build:dev --target-version=6.0.0-SNAPSHOT' failed. (error code 3) -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single (zip-assembly) on project openidm-zip: Failed to create assembly: Error adding file 'org.forgerock.openidm:openidm-ui-enduser:jar:6.0.0-SNAPSHOT' to archive: /Users/Documents/WorkMode/wrenidm/openidm-ui/openidm-ui-enduser/target/classes isn't a file. -> [Help 2]
I am using Java 1.8
Not sure if that is causing it
smukkand
@smukkand
@pavelhoral i can see still couple of unauthorised errors similar to the last time :
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backbone.paginator/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backgrid-filter/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/backgrid-select-all/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/jquery/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/lodash/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/xdate/1.0-SNAPSHOT/maven-metadata.xml
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://dl.bintray.com/wrensecurity/forgerock-archive/org/wrensecurity/commons/ui/libs/font-awesome/1.0-SNAPSHOT/maven-metadata.xml
Pavel Horal
@pavelhoral
You can ignore warnings about bintray - we need to remove that repo from wrensec-parent (it is removed in the latest snapshot).
Regarding error during build - are you calling mvn package or do you use some additional arguments?
smukkand
@smukkand
Tried re-run again with debug "mvn clean package -e -X"
I ran just "mvn clean package" but then couldnt find the exact isssues - then rerun above
Here is the full debug for : Wren:IDM - UI - Admin
[INFO]
[INFO] --- frontend-maven-plugin:0.0.28:grunt (grunt) @ openidm-ui-admin ---
[DEBUG] Configuring mojo com.github.eirslett:frontend-maven-plugin:0.0.28:grunt from plugin realm ClassRealm[plugin>com.github.eirslett:frontend-maven-plugin:0.0.28--1054982195, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc]
[DEBUG] Configuring mojo 'com.github.eirslett:frontend-maven-plugin:0.0.28:grunt' with basic configurator -->
[DEBUG] (f) arguments = build:dev --target-version=6.0.0-SNAPSHOT
[DEBUG] (f) installDirectory = /Users/Documents/WorkMode/wren/wrenidm/openidm-ui
[DEBUG] (f) skip = false
[DEBUG] (f) skipTests = false
[DEBUG] (f) triggerfiles = []
[DEBUG] (f) workingDirectory = /Users/Documents/WorkMode/wren/wrenidm/openidm-ui/openidm-ui-admin
[DEBUG] (f) execution = com.github.eirslett:frontend-maven-plugin:0.0.28:grunt {execution: grunt}
[DEBUG] -- end configuration --
[INFO] Running 'grunt build:dev --target-version=6.0.0-SNAPSHOT' in /Users/Documents/WorkMode/wren/project-dragon/wrenidm/openidm-ui/openidm-ui-admin
[INFO] Running "notify_hooks" task
[INFO]
[INFO] Running "copy:compose" (copy) task
[INFO] Created 190 directories, copied 769 files
[INFO]
[INFO] Running "eslint:lint" (eslint) task
[INFO]
[INFO] Warnings summary
[INFO] one-var 6
[INFO]
[INFO] Running "babel:source" (babel) task
[INFO]
[INFO] Running "less:dev" (less) task
[INFO] >> 2 stylesheets created.
[INFO]
[INFO] Running "copy:compiled" (copy) task
[INFO] Created 171 directories, copied 370 files
[INFO]
[INFO] Running "copy:compiledMain" (copy) task
[INFO] Copied 1 file
[INFO]
[INFO] Running "copy:transpiled" (copy) task
[INFO] Copied 298 files
[INFO]
[INFO] Running "replace:buildNumber" (replace) task
[INFO]
[INFO] Running "babel:test" (babel) task
[INFO]
[INFO] Running "copy:test" (copy) task
[INFO] Created 56 directories, copied 2 files
[INFO]
[INFO] Running "qunit:test" (qunit) task
[INFO] Testing target/qunit/index.html Warning: spawn Unknown system error -86 Use --force to continue.
[INFO]
[INFO] Aborted due to warnings.
Pavel Horal
@pavelhoral
Will be probably something connected to Node and macOS... you might try updating node version in https://github.com/WrenSecurity/wrenidm/blob/master/openidm-ui/pom.xml#L72
Trying the build on macOS right now... well, my colleague is :)
smukkand
@smukkand
Ok. May i know the verfied OS version for the build ? I will see if i have any. :)
Pavel Horal
@pavelhoral